File: ConstituentParticleData.h
Description:
ConstituentParticleData inherits from the
ParticleData class and is used for quarks,
diquarks and gluons to store information about their constituent
mass..
See
also:
namespace Pythia7
CLASS
ConstituentParticleData:
Base class:
Public members:
inline ConstituentParticleData();
inline ConstituentParticleData(const ConstituentParticleData &);
virtual ~ConstituentParticleData();
Standard ctors and dtor
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.
inline virtual Energy constituentMass() const;
Return the constituent mass of this parton.
void persistentOutput(PersistentOStream &) const;
void persistentInput(PersistentIStream &, int);
Standard functions for writing and reading from persistent streams.
static void Init();
Standard Init function used to initialize the interface.
Protected members:
ConstituentParticleData(long newId, string newPDGName);
Protected constructor only to be used by subclasses or by the
Create method.
virtual void readSetup(istream & is) throw(SetupException);
Read setup info from a standard stream.
virtual PDPtr pdclone() const;
ParticleData clone method
inline virtual void doupdate() throw(UpdateException);
inline virtual void doinit() throw(InitException);
inline virtual void dofinish();
Standard Interfaced virtual functions.
inline virtual void rebind(const TranslationMap & trans)
throw(RebindException);
Change all pointers to Interfaced objects to corresponding clones.
inline virtual IVector getReferences();
Return pointers to all Interfaced objects refered to by this.
Private members:
void setConstituentMass(Energy m);
Energy defConstituentMass() const;
Energy maxConstituentMass() const;
Utility functions for the interface.
Energy theConstituentMass;
The constituent mass of this parton.
Energy theDefaultConstituentMass;
The default constituent mass of this parton.
static ClassDescription<ConstituentParticleData> initConstituentParticleData;
ConstituentParticleData & operator=(const ConstituentParticleData &);
Private and non-existent assignment operator.
template <>
STRUCT
BaseClassTrait<ConstituentParticleData,1>
Public members:
typedef ParticleData NthBase;
template <>
STRUCT
ClassTraits<ConstituentParticleData>:
Public members:
static string className() { return "/Pythia7/ConstituentParticleData"; }
DEFINED MACROS
PYTHIA7_ConstituentParticleData_H
INCLUDED FILES
Pythia7/PDT/ParticleData.h
ConstituentParticleData.icc