#include <C0HadEarlyHcalEc1.h>
Inheritance diagram for FastShower::C0HadEarlyHcalEc1:
Public Methods | |
C0HadEarlyHcalEc1 (IProcessedDist *, IProcessedDist *, IInTail *) | |
C0HadEarlyHcalEc1 (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 C0HadEarlyHcalEc1.cxx. Referenced by clone().
|
|
Definition at line 30 of file C0HadEarlyHcalEc1.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 C0HadEarlyHcalEc1.cxx. References C0HadEarlyHcalEc1().
00039 {return new C0HadEarlyHcalEc1(*this);} |
|
sample and fill CoreSamples.
Implements FastShower::ISampler. Definition at line 41 of file C0HadEarlyHcalEc1.cxx.
|
|
read back last deposit - used by monitoring code.
Implements FastShower::ISampler. Definition at line 74 of file C0HadEarlyHcalEc1.cxx. References FastShower::CoreSamples::give().
00074 { 00075 return cs.give(this); 00076 } |
|
Reimplemented from FastShower::DebugBase. Definition at line 78 of file C0HadEarlyHcalEc1.cxx. References m_inTail, m_peak, and m_tail.
|
|
Definition at line 50 of file C0HadEarlyHcalEc1.cxx. References FastShower::ParticleParameters::delPhi(), FastShower::SplitDecision::lower(), m_tail, and FastShower::PolyArgs::pp().
00050 { 00051 00052 double lLimit, uLimit; 00053 00054 double aDPhi = fabs(pa.pp()->delPhi()); 00055 double fraction = 0.603043 + 4.48309*aDPhi; 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 C0HadEarlyHcalEc1.cxx.
00069 { 00070 LinearProcessor lp(0.8, 0.1); 00071 return m_peak->sample(&lp); 00072 } |
|
Definition at line 76 of file C0HadEarlyHcalEc1.h. Referenced by C0HadEarlyHcalEc1(), and components(). |
|
Definition at line 77 of file C0HadEarlyHcalEc1.h. Referenced by C0HadEarlyHcalEc1(), components(), and evalTail(). |
|
Definition at line 78 of file C0HadEarlyHcalEc1.h. Referenced by C0HadEarlyHcalEc1(), and components(). |