9 #ifndef ThePEG_ConstituentParticleData_H 10 #define ThePEG_ConstituentParticleData_H 13 #include "ThePEG/PDT/ParticleData.h" 49 static PDPair Create(
long newId,
string newPDGName,
string newAntiPDGName);
156 static string className() {
return "ThePEG::ConstituentParticleData"; }
ConstituentParticleData & operator=(const ConstituentParticleData &)
Private and non-existent assignment operator.
virtual Energy constituentMass() const
Return the constituent mass of this parton.
static void Init()
Standard Init function used to initialize the interface.
PersistentIStream is used to read persistent objects from a stream where they were previously written...
ConstituentParticleData inherits from the ParticleData class and is used for quarks, diquarks and gluons to store information about their constituent mass.
ClassTraitsType is an empty, non-polymorphic, base class.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
virtual PDPtr pdclone() const
ParticleData clone method.
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
virtual void readSetup(istream &is)
Read setup info from a standard stream.
This is the main namespace within which all identifiers in ThePEG are declared.
Energy theDefaultConstituentMass
The default constituent mass of this parton.
ParticleData inherits from InterfacedBase and represents the properties of a particle type...
void setConstituentMass(Energy m)
Utility function for the interface.
QTY< 0, 1, 0 >::Type Energy
Energy.
ConstituentParticleData()
Default constructor.
pair< PDPtr, PDPtr > PDPair
A pair of pointers to ParticleData objects.
static ClassDescription< ConstituentParticleData > initConstituentParticleData
Describe a concrete class with persistent data.
RCPtr is a reference counted (smart) pointer.
Energy theConstituentMass
The constituent mass of this parton.
const ZeroUnit ZERO
ZERO can be used as zero for any unitful quantity.
static PDPtr Create(long newId, string newPDGName)
Create a Particle which is its own anti-particle.
Energy defConstituentMass() const
Utility function for the interface.
The default concrete implementation of ClassTraitsBase.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
BaseClassTraits describes the base classes of the templated class.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...