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

TailFracANHadEarlyHcalEc12.cxx

Go to the documentation of this file.
00001 #include "FastShowerUtils/Samplers/TailFracANHadEarlyHcalEc12.h"
00002 #include "FastShowerUtils/PolyArgs.h"
00003 #include <cmath>
00004 namespace FastShower{
00005 
00006   double TailFracANHadEarlyHcalEc12::value(const PolyArgs& pa) const {
00007     double energy  = pa.pp()->energy();
00008     return  0.465*std::exp(-0.041*energy) + 0.1912;
00009   }
00010   //
00011   IFn* TailFracANHadEarlyHcalEc12::clone() const {
00012     return new TailFracANHadEarlyHcalEc12();
00013   }
00014 }//namespace
00015 
00016 

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