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

FastShower::FnOfParticleParametersPtr Class Reference

template Pointer Class to add monitoring to pointers More...

#include <FnOfParticleParametersPtr.h>

Inheritance diagram for FastShower::FnOfParticleParametersPtr:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 FnOfParticleParametersPtr (IFnOfParticleParameters *, std::string s="")
 FnOfParticleParametersPtr (const FnOfParticleParametersPtr &)
FnOfParticleParametersPtr & operator= (const FnOfParticleParametersPtr &)
 ~FnOfParticleParametersPtr ()
virtual double value (const ParticleParameters &pp) const
virtual IFnOfParticleParametersclone () const

Private Attributes

SP< IFnOfParticleParametersm_pointee

Detailed Description

template Pointer Class to add monitoring to pointers

Definition at line 29 of file FnOfParticleParametersPtr.h.


Constructor & Destructor Documentation

FastShower::FnOfParticleParametersPtr::FnOfParticleParametersPtr IFnOfParticleParameters  ,
std::string    s = ""
[inline]
 

Definition at line 47 of file FnOfParticleParametersPtr.h.

Referenced by clone().

00047                                               :
00048     DebugBase(s),m_pointee(pp){}
  //

FastShower::FnOfParticleParametersPtr::FnOfParticleParametersPtr const FnOfParticleParametersPtr &    [inline]
 

Definition at line 52 of file FnOfParticleParametersPtr.h.

00052                                         :
00053     IFnOfParticleParameters(), DebugBase(f), m_pointee(f.m_pointee){
00054   }
  //

FastShower::FnOfParticleParametersPtr::~FnOfParticleParametersPtr   [inline]
 

Definition at line 36 of file FnOfParticleParametersPtr.h.

00036 {};

Member Function Documentation

FnOfParticleParametersPtr & FastShower::FnOfParticleParametersPtr::operator= const FnOfParticleParametersPtr &    [inline]
 

Definition at line 58 of file FnOfParticleParametersPtr.h.

00058                                           {
00059     
00060     if (this  == &rhs ) return *this;
00061     
00062     DebugBase::operator=(rhs);
00063     m_pointee = rhs.m_pointee;
00064     
00065     return *this;
00066   }

double FastShower::FnOfParticleParametersPtr::value const ParticleParameters   pp const [inline, virtual]
 

Implements FastShower::IFnOfParticleParameters.

Definition at line 70 of file FnOfParticleParametersPtr.h.

00070                                                                      {
00071     double x = m_pointee->value(pp);
00072     this->bumpStats(x, &pp);
00073     //    cout.precision(3);
00074     //    cout<<text()<<"  "<<x<<endl;
00075     return x;
00076   }

IFnOfParticleParameters * FastShower::FnOfParticleParametersPtr::clone   const [inline, virtual]
 

Implements FastShower::IFnOfParticleParameters.

Definition at line 79 of file FnOfParticleParametersPtr.h.

References FnOfParticleParametersPtr().

00079                                                                     {
00080     IFnOfParticleParameters* nptr = new FnOfParticleParametersPtr(*this);
00081     return nptr;
00082   }

Member Data Documentation

SP<IFnOfParticleParameters> FastShower::FnOfParticleParametersPtr::m_pointee [private]
 

Definition at line 42 of file FnOfParticleParametersPtr.h.


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