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);
153 struct ClassTraits<ConstituentParticleData>:
154 public ClassTraitsBase<ConstituentParticleData> {
156 static string className() {
return "ThePEG::ConstituentParticleData"; }
ConstituentParticleData & operator=(const ConstituentParticleData &)
Private and non-existent assignment operator.
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.
virtual Energy constituentMass() const
Return the constituent mass of this parton.
ClassTraitsType is an empty, non-polymorphic, base class.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
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...
Energy defConstituentMass() const
Utility function for the interface.
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.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
static PDPtr Create(long newId, string newPDGName)
Create a Particle which is its own anti-particle.
static string className()
Return the name of class T.
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
BaseClassTraits describes the base classes of the templated class.
virtual PDPtr pdclone() const
ParticleData clone method.