#include <PeakMeanC0EmEcalEc1.h>
Inheritance diagram for FastShower::PeakMeanC0EmEcalEc1:
Public Methods | |
PeakMeanC0EmEcalEc1 () | |
virtual double | value (const PolyArgs &) const |
virtual IFn * | clone () const |
UML: IDistributionClass.unm
Definition at line 21 of file PeakMeanC0EmEcalEc1.h.
|
Definition at line 23 of file PeakMeanC0EmEcalEc1.h. Referenced by clone().
00023 :IFn(),DebugBase("PeakMeanC0EmEcalEc1"){} |
|
Implements FastShower::IFn. Definition at line 6 of file PeakMeanC0EmEcalEc1.cxx. References FastShower::ParticleParameters::delPhi(), and FastShower::PolyArgs::pp().
00006 { 00007 00008 double aDelPhi = fabs(pa.pp()->delPhi()); 00009 00010 double p1 = 0.0488925; 00011 double p2 = 0.006049; 00012 double p3 = 0.974575; 00013 double p4 = 0.0325; 00014 double mean = (aDelPhi<p1) ? 00015 p3/(1. + std::exp((aDelPhi-p1)/p2)) : 00016 p3/(1. + std::exp((aDelPhi-p1)/p2)) + p4; 00017 return mean; 00018 } |
|
Implements FastShower::IFn. Definition at line 20 of file PeakMeanC0EmEcalEc1.cxx. References PeakMeanC0EmEcalEc1().
00020 {return new PeakMeanC0EmEcalEc1();} |