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

FastShower::ShowererPtr Class Reference

#include <ShowererPtr.h>

Inheritance diagram for FastShower::ShowererPtr:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 ShowererPtr (IShowerer *, std::string s="")
 ~ShowererPtr ()
virtual void shower (ParticleParameters &, Gridlet *, Normalisations &, Normalisations &) const
virtual void normalise (const ParticleParameters &, Normalisations &, Normalisations &) const
virtual void ping (IPinger &) const
 ping this object and its descendants

virtual std::string name () const
virtual void components (IDebug::Cpts &) const

Private Attributes

SP< IShowererm_pointee
DebugBase m_esums
DebugBase m_hsums

Constructor & Destructor Documentation

FastShower::ShowererPtr::ShowererPtr IShowerer  ,
std::string    s = ""
 

Definition at line 8 of file ShowererPtr.cxx.

00008                                                    :
00009     IShowerer(), DebugBase(t), m_pointee(s), 
00010     m_esums("Esums"), m_hsums("Hsums"){}
  //

FastShower::ShowererPtr::~ShowererPtr  
 

Definition at line 12 of file ShowererPtr.cxx.

00012 {}

Member Function Documentation

void FastShower::ShowererPtr::shower ParticleParameters  ,
Gridlet  ,
Normalisations  ,
Normalisations  
const [virtual]
 

Implements FastShower::IShowerer.

Definition at line 14 of file ShowererPtr.cxx.

References FastShower::DebugBase::bumpStats(), FastShower::Gridlet::eSumE(), FastShower::ParticleParameters::fromIDebug(), FastShower::Gridlet::hSumE(), m_esums, and m_pointee.

00015                                                                           {
00016 
00017     pp.fromIDebug(this); // record visit to this showerer
00018 
00019     m_pointee->shower(pp, g, eNs, hNs);
00020 
00021     m_esums.bumpStats(g->eSumE(), &pp);
00022     m_esums.bumpStats(g->hSumE(), &pp);
00023 
00024     bumpStats(0., &pp);
00025   }

void FastShower::ShowererPtr::normalise const ParticleParameters  ,
Normalisations  ,
Normalisations  
const [virtual]
 

Implements FastShower::IShowerer.

Definition at line 27 of file ShowererPtr.cxx.

References FastShower::DebugBase::bumpStats(), and m_pointee.

00028                                                                              {
00029     m_pointee->normalise(pp, eNs, hNs);
00030     bumpStats(0., &pp);
00031   }

void FastShower::ShowererPtr::ping IPinger   p const [virtual]
 

ping this object and its descendants

Reimplemented from FastShower::DebugBase.

Definition at line 33 of file ShowererPtr.cxx.

00033 {DebugBase::ping(p);}

std::string FastShower::ShowererPtr::name   const [virtual]
 

Reimplemented from FastShower::DebugBase.

Definition at line 35 of file ShowererPtr.cxx.

References m_pointee.

00035 {return m_pointee->name();}

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

Reimplemented from FastShower::DebugBase.

Definition at line 37 of file ShowererPtr.cxx.

00037                                                 {
00038     v.push_back(&m_esums);
00039     v.push_back(&m_hsums);
00040     m_pointee->components(v);
00041   }

Member Data Documentation

SP<IShowerer> FastShower::ShowererPtr::m_pointee [private]
 

Definition at line 45 of file ShowererPtr.h.

Referenced by name(), normalise(), and shower().

DebugBase FastShower::ShowererPtr::m_esums [private]
 

Definition at line 46 of file ShowererPtr.h.

Referenced by shower().

DebugBase FastShower::ShowererPtr::m_hsums [private]
 

Definition at line 47 of file ShowererPtr.h.


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