#include <C0HadEarlyHcalEc3.h>
Inheritance diagram for FastShower::C0HadEarlyHcalEc3:
Public Methods | |
C0HadEarlyHcalEc3 (IUpdatingGaussian *, IProcessedDist *, IInTail *) | |
C0HadEarlyHcalEc3 (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_nSigma |
|
Definition at line 25 of file C0HadEarlyHcalEc3.cxx. Referenced by clone().
|
|
Definition at line 31 of file C0HadEarlyHcalEc3.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 40 of file C0HadEarlyHcalEc3.cxx. References C0HadEarlyHcalEc3().
00040 {return new C0HadEarlyHcalEc3(*this);} |
|
sample and fill CoreSamples.
Implements FastShower::ISampler. Definition at line 42 of file C0HadEarlyHcalEc3.cxx.
|
|
read back last deposit - used by monitoring code.
Implements FastShower::ISampler. Definition at line 75 of file C0HadEarlyHcalEc3.cxx. References FastShower::CoreSamples::give().
00075 { 00076 return cs.give(this); 00077 } |
|
Reimplemented from FastShower::DebugBase. Definition at line 79 of file C0HadEarlyHcalEc3.cxx. References m_inTail, m_peak, and m_tail.
|
|
Definition at line 51 of file C0HadEarlyHcalEc3.cxx. References m_peak, m_tail, and s_nSigma.
00051 { 00052 00053 pair<double, double> peakParams = m_peak->parameters(pa); 00054 double peakMean = peakParams.first; 00055 double peakSigma = peakParams.second; 00056 00057 //calculate ther upper and/or lower limit of the tail 00058 double uLimit = peakMean - s_nSigma*peakSigma; 00059 uLimit = max(uLimit, 0.1); 00060 uLimit = min(uLimit, 1.0); 00061 // 00062 double lLimit = 0.0; 00063 00064 // Sample 00065 if (!(uLimit>0.0)) uLimit = 1.0; 00066 00067 LinearProcessor lp((uLimit-lLimit), lLimit); 00068 return m_tail->sample(&lp); 00069 } |
|
Definition at line 71 of file C0HadEarlyHcalEc3.cxx.
|
|
Definition at line 80 of file C0HadEarlyHcalEc3.h. Referenced by C0HadEarlyHcalEc3(), components(), and evalTail(). |
|
Definition at line 81 of file C0HadEarlyHcalEc3.h. Referenced by C0HadEarlyHcalEc3(), components(), and evalTail(). |
|
Definition at line 82 of file C0HadEarlyHcalEc3.h. Referenced by C0HadEarlyHcalEc3(), and components(). |
|
Referenced by evalTail(). |