#include <BeamParticleData.h>
Public Member Functions | |
tcPDFPtr | pdf () const |
Return a pointer to the parton density object describing the sub-structure of this particle type. | |
Standard constructors and destructors. | |
BeamParticleData () | |
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 | |
BeamParticleData (long newId, string newPDGName) | |
Protected constructor only to be used by subclasses or by the Create method. | |
virtual PDPtr | pdclone () const |
ParticleData clone method. | |
Private Member Functions | |
void | setPDF (PDFPtr) |
Set the parton density object. | |
BeamParticleData & | operator= (const BeamParticleData &) |
Private and non-existent assignment operator. | |
Private Attributes | |
PDFPtr | thePDF |
The pointer to the parton density object. | |
Static Private Attributes | |
static ClassDescription < BeamParticleData > | initBeamParticleData |
Describe a concrete class with persistent data. |
Definition at line 29 of file BeamParticleData.h.
static PDPair ThePEG::BeamParticleData::Create | ( | long | newId, | |
string | newPDGName, | |||
string | newAntiPDGName | |||
) | [static] |
Create a particle - anti particle pair.
Note that setting the parton density object on this particle does not change the parton density of the anti particle iven if synchronized() is true.
void ThePEG::BeamParticleData::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
Reimplemented from ThePEG::ParticleData.
void ThePEG::BeamParticleData::persistentInput | ( | PersistentIStream & | is, | |
int | version | |||
) |
Function used to read in object persistently.
is | the persistent input stream read from. | |
version | the version number of the object when written. |
Reimplemented from ThePEG::ParticleData.