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

FastShower::C0HadLateHcalBar2 Class Reference

#include <C0HadLateHcalBar2.h>

Inheritance diagram for FastShower::C0HadLateHcalBar2:

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

Collaboration graph
[legend]
List of all members.

Public Methods

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

Definition at line 20 of file C0HadLateHcalBar2.cxx.

Referenced by clone().

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

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

Definition at line 24 of file C0HadLateHcalBar2.cxx.

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

Member Function Documentation

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

ISampler Interface.

Implements FastShower::ISampler.

Definition at line 31 of file C0HadLateHcalBar2.cxx.

References C0HadLateHcalBar2().

00031                                            {
00032     return new C0HadLateHcalBar2(*this);
00033   }

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

sample and fill CoreSamples.

Implements FastShower::ISampler.

Definition at line 35 of file C0HadLateHcalBar2.cxx.

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

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

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

read back last deposit - used by monitoring code.

Implements FastShower::ISampler.

Definition at line 38 of file C0HadLateHcalBar2.cxx.

References FastShower::CoreSamples::give().

00038                                                                  {
00039     return cs.give(this);
00040   }

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

Reimplemented from FastShower::DebugBase.

Definition at line 41 of file C0HadLateHcalBar2.cxx.

References m_peak.

00041                                                        {
00042     v.push_back(m_peak);
00043   }

Member Data Documentation

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

Definition at line 75 of file C0HadLateHcalBar2.h.

Referenced by components(), and sample().


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