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

FastShower::ANHadLateHcalEc2 Class Reference

#include <ANHadLateHcalEc2.h>

Inheritance diagram for FastShower::ANHadLateHcalEc2:

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

Collaboration graph
[legend]
List of all members.

Public Methods

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

Definition at line 22 of file ANHadLateHcalEc2.cxx.

Referenced by clone().

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

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

Definition at line 25 of file ANHadLateHcalEc2.cxx.

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

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

Member Function Documentation

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

ISampler interface.

Implements FastShower::ISampler.

Definition at line 32 of file ANHadLateHcalEc2.cxx.

References ANHadLateHcalEc2().

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

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

sample and fill CoreSamples.

Implements FastShower::ISampler.

Definition at line 36 of file ANHadLateHcalEc2.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::ANHadLateHcalEc2::lastValue const CoreSamples   const [virtual]
 

read back last deposit - used by monitoring code.

Implements FastShower::ISampler.

Definition at line 41 of file ANHadLateHcalEc2.cxx.

References FastShower::CoreSamples::give().

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

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

Reimplemented from FastShower::DebugBase.

Definition at line 45 of file ANHadLateHcalEc2.cxx.

References m_peak.

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

Member Data Documentation

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

Definition at line 70 of file ANHadLateHcalEc2.h.

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


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