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

PData Class Reference

Particle data: definition of the interface to the actual data held in a PDTEntry object. More...

#include <PData.h>

Inheritance diagram for PData:

AntiPData List of all members.

Public Methods

virtual ~PData ()
const char* name () const
PData* anti () const
virtual float charge () const
virtual long idCode () const
float mass () const
float width () const
float widthCut () const
float lifeTime () const
float spin () const
const DecayEntrydecayInfo () const
Interactorinteraction () const
float sumBR () const
virtual void printOn ( std::ostream & ) const

Protected Methods

 PData (const char * name, PDTEntry* data=0)

Protected Attributes

char* _name
PDTEntrytheData
PData* antiParticle

Friends

class  PDT
class  AntiPData
class  GParticle

Detailed Description

Particle data: definition of the interface to the actual data held in a PDTEntry object.

Definition at line 19 of file PData.h.


Constructor & Destructor Documentation

PData::~PData ( ) [virtual]
 

Definition at line 35 of file PData.cxx.

PData::PData ( const char * name,
PDTEntry * data = 0 ) [protected]
 

Definition at line 27 of file PData.cxx.


Member Function Documentation

PData * PData::anti ( ) const
 

Definition at line 64 of file PData.cxx.

Referenced by EGSInteractor::interact().

float PData::charge ( ) const [virtual]
 

Reimplemented in AntiPData.

Definition at line 67 of file PData.cxx.

Referenced by GParticle::charge(), and AntiPData::charge().

const DecayEntry * PData::decayInfo ( ) const
 

Definition at line 88 of file PData.cxx.

Referenced by printOn().

long PData::idCode ( ) const [virtual]
 

Reimplemented in AntiPData.

Definition at line 70 of file PData.cxx.

Referenced by PDT::getIndexOf(), GParticle::idCode(), AntiPData::idCode(), printOn(), and ShowerDetector::score().

Interactor * PData::interaction ( ) const
 

Definition at line 91 of file PData.cxx.

float PData::lifeTime ( ) const
 

Definition at line 82 of file PData.cxx.

Referenced by GParticle::GenerateTimeOfDecay(), and GParticle::lifeTime().

float PData::mass ( ) const
 

Definition at line 73 of file PData.cxx.

Referenced by EGSInteractor::interact(), and printOn().

const char * PData::name ( ) const
 

Definition at line 61 of file PData.cxx.

Referenced by GParticle::name(), and printOn().

void PData::printOn ( std::ostream & cout ) const [virtual]
 

Definition at line 44 of file PData.cxx.

float PData::spin ( ) const
 

Definition at line 85 of file PData.cxx.

Referenced by GParticle::spin().

float PData::sumBR ( ) const
 

Definition at line 94 of file PData.cxx.

float PData::width ( ) const
 

Definition at line 76 of file PData.cxx.

Referenced by printOn(), and GParticle::setMass().

float PData::widthCut ( ) const
 

Definition at line 79 of file PData.cxx.

Referenced by GParticle::setMass().


Friends And Related Function Documentation

class AntiPData [friend]
 

Definition at line 22 of file PData.h.

class GParticle [friend]
 

Definition at line 23 of file PData.h.

class PDT [friend]
 

Reimplemented in AntiPData.

Definition at line 21 of file PData.h.


Member Data Documentation

char * PData::_name [protected]
 

Definition at line 55 of file PData.h.

PData * PData::antiParticle [protected]
 

Definition at line 57 of file PData.h.

PDTEntry * PData::theData [protected]
 

Definition at line 56 of file PData.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:20:30 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000