#include <PeakMeanS0EmEcalBar1.h>
Inheritance diagram for FastShower::PeakMeanS0EmEcalBar1:
Public Methods | |
PeakMeanS0EmEcalBar1 () | |
virtual double | value (const PolyArgs &) const |
virtual IFn * | clone () const |
UML: IDistributionClass.unm
Definition at line 21 of file PeakMeanS0EmEcalBar1.h.
|
Definition at line 23 of file PeakMeanS0EmEcalBar1.h. Referenced by clone().
00023 :IFn(),DebugBase("PeakMeanS0EmEcalBar1"){} |
|
Implements FastShower::IFn. Definition at line 7 of file PeakMeanS0EmEcalBar1.cxx. References FastShower::ParticleParameters::delEta(), FastShower::ParticleParameters::energy(), and FastShower::PolyArgs::pp().
00007 { 00008 00009 double energy = pa.pp()->energy(); 00010 double aDelEta = fabs(pa.pp()->delEta()); 00011 // 00012 double p1 = 0.052645; 00013 double p2 = 0.00293125; 00014 double p3 = 0.98035; 00015 double p4 = 280.3*std::exp(-0.1511*energy) + 875.7; 00016 // 00017 return p3/(1.+ std::exp((aDelEta-p1)/p2)) - p4*std::pow(aDelEta,3); 00018 } |
|
Implements FastShower::IFn. Definition at line 20 of file PeakMeanS0EmEcalBar1.cxx. References PeakMeanS0EmEcalBar1().
00020 { 00021 return new PeakMeanS0EmEcalBar1(); 00022 } |