#include <PeakSigmaS0EmEcalBar1.h>
Inheritance diagram for FastShower::PeakSigmaS0EmEcalBar1:
Public Methods | |
PeakSigmaS0EmEcalBar1 () | |
virtual double | value (const PolyArgs &) const |
virtual IFn * | clone () const |
UML: IDistributionClass.unm
Definition at line 22 of file PeakSigmaS0EmEcalBar1.h.
|
Definition at line 24 of file PeakSigmaS0EmEcalBar1.h. Referenced by clone().
00024 :IFn(),DebugBase("PeakSigmaS0EmEcalBar1"){} |
|
Implements FastShower::IFn. Definition at line 7 of file PeakSigmaS0EmEcalBar1.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.0579175; 00013 double p2 = 0.00286125; 00014 double p3 = 0.996375; 00015 double p4 = -163.1*std::exp(-0.05358*energy) - 57.12; 00016 // 00017 return 1. - p3/(1.+std::exp((aDelEta-p1)/p2)) - p4*std::pow(aDelEta,3); 00018 } |
|
Implements FastShower::IFn. Definition at line 20 of file PeakSigmaS0EmEcalBar1.cxx. References PeakSigmaS0EmEcalBar1().
00020 { 00021 return new PeakSigmaS0EmEcalBar1(); 00022 } |