9 #ifndef ThePEG_BeamParticleData_H
10 #define ThePEG_BeamParticleData_H
13 #include "ThePEG/PDT/ParticleData.h"
14 #include "ThePEG/PDF/PDFBase.h"
15 #include "BeamParticleData.xh"
54 static PDPair Create(
long newId,
string newPDGName,
string newAntiPDGName);
142 struct ClassTraits<BeamParticleData>:
143 public ClassTraitsBase<BeamParticleData> {
145 static string className() {
return "ThePEG::BeamParticleData"; }
BeamParticleData inherits from the ParticleData class and is used for particles which have informatio...
BeamParticleData & operator=(const BeamParticleData &)
Private and non-existent assignment operator.
PersistentIStream is used to read persistent objects from a stream where they were previously written...
ClassTraitsType is an empty, non-polymorphic, base class.
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data...
BeamParticleData()
Default constructor.
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
static void Init()
Standard Init function used to initialize the interface.
This is the main namespace within which all identifiers in ThePEG are declared.
ParticleData inherits from InterfacedBase and represents the properties of a particle type...
void setPDF(PDFPtr)
Set the parton density object.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
static PDPtr Create(long newId, string newPDGName)
Create a Particle which is its own anti-particle.
pair< PDPtr, PDPtr > PDPair
A pair of pointers to ParticleData objects.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
RCPtr is a reference counted (smart) pointer.
static ClassDescription< BeamParticleData > initBeamParticleData
Describe a concrete class with persistent data.
tcPDFPtr pdf() const
Return a pointer to the parton density object describing the sub-structure of this particle type...
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).
virtual PDPtr pdclone() const
ParticleData clone method.
BaseClassTraits describes the base classes of the templated class.
PDFPtr thePDF
The pointer to the parton density object.