00001 #include "FastShowerUtils/Samplers/TailFracS0HadLateHcalEc1.h" 00002 #include "FastShowerUtils/PolyArgs.h" 00003 00004 #include <cmath> 00005 namespace FastShower{ 00006 00007 double TailFracS0HadLateHcalEc1::value(const PolyArgs& pa) const { 00008 00009 double energy = pa.pp()->energy(); 00010 00011 00012 // 00013 return (energy<15.0)? 0.015 : 0.005; 00014 } 00015 // 00016 IFn* TailFracS0HadLateHcalEc1::clone() const { 00017 return new TailFracS0HadLateHcalEc1(); 00018 } 00019 }//namespace 00020 00021