#include <C0HadEarlyHcalBar1.h>
Inheritance diagram for FastShower::C0HadEarlyHcalBar1:
Public Methods | |
C0HadEarlyHcalBar1 (IProcessedDist *, IProcessedDist *, IInTail *) | |
C0HadEarlyHcalBar1 (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 C0HadEarlyHcalBar1.cxx. Referenced by clone().
|
|
Definition at line 30 of file C0HadEarlyHcalBar1.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 C0HadEarlyHcalBar1.cxx. References C0HadEarlyHcalBar1().
00039 { 00040 return new C0HadEarlyHcalBar1(*this); 00041 } |
|
sample and fill CoreSamples.
Implements FastShower::ISampler. Definition at line 43 of file C0HadEarlyHcalBar1.cxx.
|
|
read back last deposit - used by monitoring code.
Implements FastShower::ISampler. Definition at line 74 of file C0HadEarlyHcalBar1.cxx. References FastShower::CoreSamples::give().
00074 { 00075 return cs.give(this); 00076 } |
|
Reimplemented from FastShower::DebugBase. Definition at line 78 of file C0HadEarlyHcalBar1.cxx. References m_inTail, m_peak, and m_tail.
|
|
Definition at line 53 of file C0HadEarlyHcalBar1.cxx. References FastShower::SplitDecision::lower(), and m_tail.
00053 { 00054 00055 double lLimit, uLimit; 00056 00057 SplitDecision whichTail(0.63); 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 C0HadEarlyHcalBar1.cxx.
00069 { 00070 LinearProcessor lp(0.8, 0.1); 00071 return m_peak->sample(&lp); 00072 } |
|
Definition at line 76 of file C0HadEarlyHcalBar1.h. Referenced by C0HadEarlyHcalBar1(), and components(). |
|
Definition at line 77 of file C0HadEarlyHcalBar1.h. Referenced by C0HadEarlyHcalBar1(), components(), and evalTail(). |
|
Definition at line 78 of file C0HadEarlyHcalBar1.h. Referenced by C0HadEarlyHcalBar1(), and components(). |