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

FastShower::C0HadLateHcalBar1 Class Reference

#include <C0HadLateHcalBar1.h>

Inheritance diagram for FastShower::C0HadLateHcalBar1:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 C0HadLateHcalBar1 (IUpdatingGaussian *)
 C0HadLateHcalBar1 (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::C0HadLateHcalBar1::C0HadLateHcalBar1 IUpdatingGaussian  
 

Definition at line 22 of file C0HadLateHcalBar1.cxx.

Referenced by clone().

00022                                                           :
00023     ISampler(), ICell0(), DebugBase("C0HadLateHcalBar1"), m_peak(g) {} 

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

Definition at line 25 of file C0HadLateHcalBar1.cxx.

References FastShower::IConfigurer::findIUG(), m_peak, and FastShower::DebugBase::text().

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

Member Function Documentation

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

ISampler Interface.

Implements FastShower::ISampler.

Definition at line 32 of file C0HadLateHcalBar1.cxx.

References C0HadLateHcalBar1().

00032                                            {
00033     return new C0HadLateHcalBar1(*this);
00034   }

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

sample and fill CoreSamples.

Implements FastShower::ISampler.

Definition at line 36 of file C0HadLateHcalBar1.cxx.

00036                                                                         {
00037     cs.fill(this,m_peak->sample(0.0, 100, 1.0, 100, pa));
00038   }

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

read back last deposit - used by monitoring code.

Implements FastShower::ISampler.

Definition at line 40 of file C0HadLateHcalBar1.cxx.

References FastShower::CoreSamples::give().

00040                                                                  {
00041     return cs.give(this);
00042   }

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

Reimplemented from FastShower::DebugBase.

Definition at line 44 of file C0HadLateHcalBar1.cxx.

References m_peak.

00044                                                        {
00045     v.push_back(m_peak);
00046   }

Member Data Documentation

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

Definition at line 75 of file C0HadLateHcalBar1.h.

Referenced by C0HadLateHcalBar1(), and components().


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