#include <S0HadEarlyHcalEc1.h>
Inheritance diagram for FastShower::S0HadEarlyHcalEc1:
Public Methods | |
S0HadEarlyHcalEc1 (IProcessedDist *, IProcessedDist *, IInTail *) | |
S0HadEarlyHcalEc1 (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< IProcessedDist > | m_peak |
SP< IProcessedDist > | m_tail |
SP< IInTail > | m_inTail |
|
Definition at line 24 of file S0HadEarlyHcalEc1.cxx. Referenced by clone().
|
|
Definition at line 30 of file S0HadEarlyHcalEc1.cxx. References m_inTail, m_peak, m_tail, FastShower::IConfigurer::makeIInTail(), FastShower::IConfigurer::makeProcessedFlat(), and FastShower::DebugBase::text().
|
|
ISampler Interface.
Implements FastShower::ISampler. Definition at line 39 of file S0HadEarlyHcalEc1.cxx. References S0HadEarlyHcalEc1().
00039 {return new S0HadEarlyHcalEc1(*this);} |
|
sample and fill CoreSamples.
Implements FastShower::ISampler. Definition at line 41 of file S0HadEarlyHcalEc1.cxx.
|
|
read back last deposit - used by monitoring code.
Implements FastShower::ISampler. Definition at line 74 of file S0HadEarlyHcalEc1.cxx. References FastShower::CoreSamples::give().
00074 { 00075 return cs.give(this); 00076 } |
|
Reimplemented from FastShower::DebugBase. Definition at line 78 of file S0HadEarlyHcalEc1.cxx. References m_inTail, m_peak, and m_tail.
|
|
Definition at line 50 of file S0HadEarlyHcalEc1.cxx. References FastShower::ParticleParameters::delEta(), FastShower::SplitDecision::lower(), m_tail, and FastShower::PolyArgs::pp().
00050 { 00051 00052 double lLimit, uLimit; 00053 00054 double aDEta = fabs(pa.pp()->delEta()); 00055 double fraction = 0.28752 + 7.9588*aDEta; 00056 00057 SplitDecision whichTail(fraction); 00058 if (whichTail.lower()) { 00059 lLimit = 0.0; 00060 uLimit = 0.1; 00061 }else { 00062 lLimit = 0.9; 00063 uLimit = 1.0; 00064 } 00065 LinearProcessor lp((uLimit-lLimit), lLimit); 00066 return m_tail->sample(&lp); 00067 } |
|
Definition at line 69 of file S0HadEarlyHcalEc1.cxx.
00069 { 00070 LinearProcessor lp(0.8, 0.1); 00071 return m_peak->sample(&lp); 00072 } |
|
Definition at line 78 of file S0HadEarlyHcalEc1.h. Referenced by components(), and S0HadEarlyHcalEc1(). |
|
Definition at line 79 of file S0HadEarlyHcalEc1.h. Referenced by components(), evalTail(), and S0HadEarlyHcalEc1(). |
|
Definition at line 80 of file S0HadEarlyHcalEc1.h. Referenced by components(), and S0HadEarlyHcalEc1(). |