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

FastShower::ANEmEcalEc2 Class Reference

#include <ANEmEcalEc2.h>

Inheritance diagram for FastShower::ANEmEcalEc2:

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

Collaboration graph
[legend]
List of all members.

Public Methods

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

Static Private Attributes

const double s_nSigma

Constructor & Destructor Documentation

FastShower::ANEmEcalEc2::ANEmEcalEc2 IUpdatingGaussian  
 

Definition at line 21 of file ANEmEcalEc2.cxx.

Referenced by clone().

00021                                               : 
00022     ISampler(), ICellAN(), DebugBase("ANEmEcalEc2"), m_peak(g){}

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

Definition at line 24 of file ANEmEcalEc2.cxx.

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

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

Member Function Documentation

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

ISampler interface.

Implements FastShower::ISampler.

Definition at line 31 of file ANEmEcalEc2.cxx.

References ANEmEcalEc2().

00031 {return new ANEmEcalEc2(*this);}

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

sample and fill CoreSamples.

Implements FastShower::ISampler.

Definition at line 33 of file ANEmEcalEc2.cxx.

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

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

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

read back last deposit - used by monitoring code.

Implements FastShower::ISampler.

Definition at line 36 of file ANEmEcalEc2.cxx.

References FastShower::CoreSamples::give().

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

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

Reimplemented from FastShower::DebugBase.

Definition at line 39 of file ANEmEcalEc2.cxx.

References m_peak.

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

Member Data Documentation

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

Definition at line 65 of file ANEmEcalEc2.h.

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

const double FastShower::ANEmEcalEc2::s_nSigma [static, private]
 

Referenced by sample().


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