Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

TailFracC0HadLateHcalEc1.cxx

Go to the documentation of this file.
00001 #include "FastShowerUtils/Samplers/TailFracC0HadLateHcalEc1.h"
00002 #include "FastShowerUtils/PolyArgs.h"
00003 
00004 #include <cmath>
00005 namespace FastShower{
00006 
00007   double TailFracC0HadLateHcalEc1::value(const PolyArgs& pa) const {
00008 
00009     double energy  = pa.pp()->energy();
00010     double aDelPhi = fabs(pa.pp()->delPhi());
00011     //
00012     return  (energy<15.)? 0.07768+12.73*aDelPhi 
00013                         : 0.04899*std::exp(-0.04319*energy)+0.004349;
00014   }
00015   //
00016   IFn* TailFracC0HadLateHcalEc1::clone() const {
00017     return new TailFracC0HadLateHcalEc1();
00018   }
00019 }//namespace
00020 
00021 

Generated on Tue Mar 18 11:50:07 2003 for FastShowerUtils by doxygen1.3-rc1