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