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

FastShower::ANHadLateHcalBar2 Class Reference

#include <ANHadLateHcalBar2.h>

Inheritance diagram for FastShower::ANHadLateHcalBar2:

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

Collaboration graph
[legend]
List of all members.

Public Methods

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

Definition at line 22 of file ANHadLateHcalBar2.cxx.

Referenced by clone().

00022                                                           :
00023     ISampler(), ICellAN(), DebugBase("ANHadLateHcalBar2"), m_peak(g){}
  //

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

Definition at line 25 of file ANHadLateHcalBar2.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::ANHadLateHcalBar2::clone   const [virtual]
 

ISampler interface.

Implements FastShower::ISampler.

Definition at line 32 of file ANHadLateHcalBar2.cxx.

References ANHadLateHcalBar2().

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

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

sample and fill CoreSamples.

Implements FastShower::ISampler.

Definition at line 36 of file ANHadLateHcalBar2.cxx.

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

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

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

read back last deposit - used by monitoring code.

Implements FastShower::ISampler.

Definition at line 41 of file ANHadLateHcalBar2.cxx.

References FastShower::CoreSamples::give().

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

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

Reimplemented from FastShower::DebugBase.

Definition at line 45 of file ANHadLateHcalBar2.cxx.

References m_peak.

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

Member Data Documentation

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

Definition at line 70 of file ANHadLateHcalBar2.h.

Referenced by ANHadLateHcalBar2(), components(), and sample().


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