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

FastShower::NormaliserPtr Class Reference

#include <NormaliserPtr.h>

Inheritance diagram for FastShower::NormaliserPtr:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 NormaliserPtr (INormaliser *s, std::string s="")
 NormaliserPtr (const NormaliserPtr &)
NormaliserPtr & operator= (const NormaliserPtr &s)
 ~NormaliserPtr ()
virtual INormaliserclone () const
 make a copy of objects viewed through INormaliser interface.

virtual void scale (Normalisations &, const ParticleParameters &) 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< INormaliserm_pointee

Constructor & Destructor Documentation

FastShower::NormaliserPtr::NormaliserPtr INormaliser   s,
std::string    s = ""
 

Definition at line 13 of file NormaliserPtr.cxx.

Referenced by clone().

00013                                                          :
00014     DebugBase(t),m_pointee(s){}
  //

FastShower::NormaliserPtr::NormaliserPtr const NormaliserPtr &   
 

Definition at line 16 of file NormaliserPtr.cxx.

References m_pointee.

00016                                                        :INormaliser(),DebugBase(rhs){ 
00017     m_pointee = rhs.m_pointee;
00018   }

FastShower::NormaliserPtr::~NormaliserPtr   [inline]
 

Definition at line 39 of file NormaliserPtr.h.

00039 {};

Member Function Documentation

NormaliserPtr & FastShower::NormaliserPtr::operator= const NormaliserPtr &    s
 

Definition at line 19 of file NormaliserPtr.cxx.

References m_pointee.

00019                                                                  {
00020     
00021     if (this  == &rhs ) return *this;
00022 
00023     INormaliser::operator=(rhs);
00024     DebugBase::operator=(rhs);
00025     m_pointee = rhs.m_pointee;
00026     
00027     return *this;
00028   }

INormaliser * FastShower::NormaliserPtr::clone   const [virtual]
 

make a copy of objects viewed through INormaliser interface.

Implements FastShower::INormaliser.

Definition at line 30 of file NormaliserPtr.cxx.

References NormaliserPtr().

00030                                           {
00031     INormaliser* spPtr = new NormaliserPtr(*this);
00032     return spPtr;
00033   }

void FastShower::NormaliserPtr::scale Normalisations  ,
const ParticleParameters  
const [virtual]
 

Implements FastShower::INormaliser.

Definition at line 34 of file NormaliserPtr.cxx.

References m_pointee.

00035                                                                {
00036     return m_pointee->scale(Ns, pp);
00037   }

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

ping this object and its descendants

Reimplemented from FastShower::DebugBase.

Definition at line 39 of file NormaliserPtr.cxx.

00039 {DebugBase::ping(p);}

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

Reimplemented from FastShower::DebugBase.

Definition at line 40 of file NormaliserPtr.cxx.

00040 {return m_pointee->name();}

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

Reimplemented from FastShower::DebugBase.

Definition at line 41 of file NormaliserPtr.cxx.

00041                                                   {
00042     m_pointee->components(v);
00043   }

Member Data Documentation

SP<INormaliser> FastShower::NormaliserPtr::m_pointee [private]
 

Definition at line 54 of file NormaliserPtr.h.

Referenced by NormaliserPtr(), operator=(), and scale().


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