#include <PeakMeanC0EmEcalBar1.h>
Inheritance diagram for FastShower::PeakMeanC0EmEcalBar1:
Public Methods | |
PeakMeanC0EmEcalBar1 () | |
virtual double | value (const PolyArgs &) const |
virtual IFn * | clone () const |
|
Definition at line 25 of file PeakMeanC0EmEcalBar1.h. Referenced by clone().
00025 :IFn(),DebugBase("PeakMeanC0EmEcalBar1"){} |
|
Implements FastShower::IFn. Definition at line 7 of file PeakMeanC0EmEcalBar1.cxx. References FastShower::ParticleParameters::delPhi(), and FastShower::PolyArgs::pp().
00007 { 00008 00009 double aDelPhi = fabs(pa.pp()->delPhi()); 00010 // 00011 double p1 = 0.0488725; 00012 double p2 = 0.005662; 00013 double p3 = 0.9874; 00014 double p4 = 0.05283; 00015 // 00016 double mean = (aDelPhi<p1) ? 00017 p3/(1. + std::exp((aDelPhi-p1)/p2)) : 00018 p3/(1. + std::exp((aDelPhi-p1)/p2)) + p4; 00019 return mean; 00020 } |
|
Implements FastShower::IFn. Definition at line 22 of file PeakMeanC0EmEcalBar1.cxx. References PeakMeanC0EmEcalBar1().
00022 { 00023 return new PeakMeanC0EmEcalBar1(); 00024 } |