#include <ConstituentParticleData.h>
Public Member Functions | |
virtual Energy | constituentMass () const |
Return the constituent mass of this parton. | |
Standard constructors and destructors. | |
ConstituentParticleData () | |
Default constructor. | |
Functions used by the persistent I/O system. | |
void | persistentOutput (PersistentOStream &os) const |
Function used to write out object persistently. | |
void | persistentInput (PersistentIStream &is, int version) |
Function used to read in object persistently. | |
Static Public Member Functions | |
static void | Init () |
Standard Init function used to initialize the interface. | |
The Create methods are special interfaces for ParticleData | |
classes. | |
static PDPtr | Create (long newId, string newPDGName) |
Create a Particle which is its own anti-particle. | |
static PDPair | Create (long newId, string newPDGName, string newAntiPDGName) |
Create a particle - anti particle pair. | |
Protected Member Functions | |
ConstituentParticleData (long newId, string newPDGName) | |
Protected constructor only to be used by subclasses or by the Create method. | |
virtual void | readSetup (istream &is) |
Read setup info from a standard stream. | |
virtual PDPtr | pdclone () const |
ParticleData clone method. | |
Private Member Functions | |
void | setConstituentMass (Energy m) |
Utility function for the interface. | |
Energy | defConstituentMass () const |
Utility function for the interface. | |
ConstituentParticleData & | operator= (const ConstituentParticleData &) |
Private and non-existent assignment operator. | |
Private Attributes | |
Energy | theConstituentMass |
The constituent mass of this parton. | |
Energy | theDefaultConstituentMass |
The default constituent mass of this parton. | |
Static Private Attributes | |
static ClassDescription < ConstituentParticleData > | initConstituentParticleData |
Describe a concrete class with persistent data. |
Definition at line 25 of file ConstituentParticleData.h.
void ThePEG::ConstituentParticleData::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
Reimplemented from ThePEG::ParticleData.
void ThePEG::ConstituentParticleData::persistentInput | ( | PersistentIStream & | is, | |
int | version | |||
) |
Function used to read in object persistently.
is | the persistent input stream read from. | |
version | the version number of the object when written. |
Reimplemented from ThePEG::ParticleData.
virtual void ThePEG::ConstituentParticleData::readSetup | ( | istream & | is | ) | [protected, virtual] |
Read setup info from a standard stream.
The information that must be supplied is the same as for ParticleData::readSetup with an additional constituent mass (in GeV) added in the end.
Reimplemented from ThePEG::ParticleData.