ThePEG::ConstituentParticleData Class Reference

ConstituentParticleData inherits from the ParticleData class and is used for quarks, diquarks and gluons to store information about their constituent mass. More...

#include <ConstituentParticleData.h>

Inheritance diagram for ThePEG::ConstituentParticleData:

ThePEG::ParticleData ThePEG::Interfaced ThePEG::InterfacedBase ThePEG::Base ThePEG::Named ThePEG::Pointer::ReferenceCounted

List of all members.

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.
ConstituentParticleDataoperator= (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.


Detailed Description

ConstituentParticleData inherits from the ParticleData class and is used for quarks, diquarks and gluons to store information about their constituent mass.

See also:
The interfaces defined for ConstituentParticleData.

Definition at line 25 of file ConstituentParticleData.h.


Member Function Documentation

void ThePEG::ConstituentParticleData::persistentOutput ( PersistentOStream os  )  const

Function used to write out object persistently.

Parameters:
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.

Parameters:
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.


The documentation for this class was generated from the following file:

Generated on Thu Apr 29 12:43:16 2010 for ThePEG by  doxygen 1.5.5