#include <C0HadLateHcalEc1.h>
Inheritance diagram for FastShower::C0HadLateHcalEc1:
Public Methods | |
C0HadLateHcalEc1 (IUpdatingGaussian *, IProcessedDist *, IInTail *) | |
C0HadLateHcalEc1 (const IConfigurer *, const std::string &) | |
virtual ISampler * | clone () const |
ISampler Interface. | |
virtual void | sample (const PolyArgs &, CoreSamples &) const |
sample and fill CoreSamples. | |
virtual double | lastValue (const CoreSamples &) const |
read back last deposit - used by monitoring code. | |
virtual void | components (IDebug::Cpts &) const |
Private Methods | |
double | evalTail (const PolyArgs &) const |
double | evalPeak (const PolyArgs &) const |
Private Attributes | |
SP< IUpdatingGaussian > | m_peak |
SP< IProcessedDist > | m_tail |
SP< IInTail > | m_inTail |
Static Private Attributes | |
const double | s_nSigma1 |
const double | s_nSigma2 |
|
Definition at line 26 of file C0HadLateHcalEc1.cxx. Referenced by clone().
|
|
Definition at line 32 of file C0HadLateHcalEc1.cxx. References FastShower::IConfigurer::findIUG(), m_inTail, m_peak, m_tail, FastShower::IConfigurer::makeIInTail(), FastShower::IConfigurer::makeProcessedFlat(), and FastShower::DebugBase::text().
|
|
ISampler Interface.
Implements FastShower::ISampler. Definition at line 41 of file C0HadLateHcalEc1.cxx. References C0HadLateHcalEc1().
00041 {return new C0HadLateHcalEc1(*this);} |
|
sample and fill CoreSamples.
Implements FastShower::ISampler. Definition at line 44 of file C0HadLateHcalEc1.cxx.
|
|
read back last deposit - used by monitoring code.
Implements FastShower::ISampler. Definition at line 78 of file C0HadLateHcalEc1.cxx. References FastShower::CoreSamples::give().
00078 { 00079 return cs.give(this); 00080 } |
|
Reimplemented from FastShower::DebugBase. Definition at line 82 of file C0HadLateHcalEc1.cxx. References m_inTail, m_peak, and m_tail.
|
|
Definition at line 54 of file C0HadLateHcalEc1.cxx. References m_peak, m_tail, s_nSigma1, and s_nSigma2.
00054 { 00055 00056 pair<double, double> peakParams = m_peak->parameters(pa); 00057 double peakMean = peakParams.first; 00058 double peakSigma = peakParams.second; 00059 //calculate ther upper and lower limits of the tails 00060 // 00061 // tail 00062 double uLimit = peakMean - s_nSigma1*peakSigma; 00063 if(uLimit>1.){ uLimit=1-peakSigma;} 00064 if(uLimit<0.){ uLimit=0;} 00065 // 00066 double lLimit = peakMean - s_nSigma2*peakSigma; 00067 if(lLimit>uLimit){lLimit = uLimit-peakSigma;} 00068 if(lLimit<0.){lLimit=0.;} 00069 // 00070 LinearProcessor lp( (uLimit- lLimit), lLimit ); 00071 return m_tail->sample(&lp); 00072 } |
|
Definition at line 74 of file C0HadLateHcalEc1.cxx.
|
|
Definition at line 80 of file C0HadLateHcalEc1.h. Referenced by C0HadLateHcalEc1(), components(), and evalTail(). |
|
Definition at line 81 of file C0HadLateHcalEc1.h. Referenced by C0HadLateHcalEc1(), components(), and evalTail(). |
|
Definition at line 82 of file C0HadLateHcalEc1.h. Referenced by C0HadLateHcalEc1(), and components(). |
|
Referenced by evalTail(). |
|
Referenced by evalTail(). |