Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

FastShower::C0HadLateHcalEc2 Class Reference

#include <C0HadLateHcalEc2.h>

Inheritance diagram for FastShower::C0HadLateHcalEc2:

Inheritance graph
[legend]
Collaboration diagram for FastShower::C0HadLateHcalEc2:

Collaboration graph
[legend]
List of all members.

Public Methods

 C0HadLateHcalEc2 (IUpdatingGaussian *)
 C0HadLateHcalEc2 (const IConfigurer *, const std::string &)
virtual ISamplerclone () 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 Attributes

SP< IUpdatingGaussianm_peak

Constructor & Destructor Documentation

FastShower::C0HadLateHcalEc2::C0HadLateHcalEc2 IUpdatingGaussian  
 

Definition at line 20 of file C0HadLateHcalEc2.cxx.

Referenced by clone().

00020                                                         : 
00021     ISampler(), ICell0(), DebugBase("C0HadLateHcalEc2"), m_peak(g){}

FastShower::C0HadLateHcalEc2::C0HadLateHcalEc2 const IConfigurer  ,
const std::string &   
 

Definition at line 24 of file C0HadLateHcalEc2.cxx.

00025                                                         :
00026     DebugBase(s), m_peak(0){
00027     m_peak           = configurer->findIUG( text()+"Peak" ) ;
00028     cout<<text()<<" finishing construction"<<endl;
00029   }

Member Function Documentation

ISampler * FastShower::C0HadLateHcalEc2::clone   const [virtual]
 

ISampler Interface.

Implements FastShower::ISampler.

Definition at line 31 of file C0HadLateHcalEc2.cxx.

References C0HadLateHcalEc2().

00031 {return new C0HadLateHcalEc2(*this);}

void FastShower::C0HadLateHcalEc2::sample const PolyArgs  ,
CoreSamples  
const [virtual]
 

sample and fill CoreSamples.

Implements FastShower::ISampler.

Definition at line 33 of file C0HadLateHcalEc2.cxx.

References FastShower::CoreSamples::fill(), and m_peak.

00033                                                                        {
00034     cs.fill(this,m_peak->sample(0.0, 0, 1.0, 100, pa));
00035   }

double FastShower::C0HadLateHcalEc2::lastValue const CoreSamples   const [virtual]
 

read back last deposit - used by monitoring code.

Implements FastShower::ISampler.

Definition at line 36 of file C0HadLateHcalEc2.cxx.

References FastShower::CoreSamples::give().

00036                                                                 {
00037     return cs.give(this);
00038   }

void FastShower::C0HadLateHcalEc2::components IDebug::Cpts   const [virtual]
 

Reimplemented from FastShower::DebugBase.

Definition at line 39 of file C0HadLateHcalEc2.cxx.

References m_peak.

00039                                                       {
00040     v.push_back(m_peak);
00041   }

Member Data Documentation

SP<IUpdatingGaussian> FastShower::C0HadLateHcalEc2::m_peak [private]
 

Definition at line 75 of file C0HadLateHcalEc2.h.

Referenced by components(), and sample().


The documentation for this class was generated from the following files:
Generated on Tue Mar 18 11:57:20 2003 for FastShowerUtils by doxygen1.3-rc1