#include <TailAuxS0EmEcalEc1.h>
Inheritance diagram for FastShower::TailAuxS0EmEcalEc1:
Public Methods | |
TailAuxS0EmEcalEc1 () | |
virtual double | value (const PolyArgs &) const |
virtual IFn * | clone () const |
UML: IDistributionClass.unm
Definition at line 22 of file TailAuxS0EmEcalEc1.h.
|
Definition at line 24 of file TailAuxS0EmEcalEc1.h. Referenced by clone().
00024 :IFn(),DebugBase("TailAuxS0EmEcalEc1"){} |
|
Implements FastShower::IFn. Definition at line 6 of file TailAuxS0EmEcalEc1.cxx. References FastShower::ParticleParameters::energy(), and FastShower::PolyArgs::pp().
00006 { 00007 00008 double energy = pa.pp()->energy(); 00009 00010 double p1 = 3.25; 00011 double p2 = -0.12; 00012 double p3 = 0.03; 00013 // 00014 return p1*std::exp(p2*energy) + p3; 00015 } |
|
Implements FastShower::IFn. Definition at line 17 of file TailAuxS0EmEcalEc1.cxx. References TailAuxS0EmEcalEc1().
00017 {return new TailAuxS0EmEcalEc1();} |