#include <PartonBin.h>
Public Types | |
typedef vector< PBPtr > | PBVector |
A vector of pointers to PartonBin objects. | |
Public Member Functions | |
Standard constructors, assignment and destructors. | |
PartonBin (tcPDPtr p, tPBPtr prev, tcPDPtr pi, tcPDFPtr pdf, const PDFCuts &newCuts) | |
Standard constructor. | |
PartonBin () | |
Default constructor. | |
virtual | ~PartonBin () |
Destructor. | |
Access the information in this ParticleBin. | |
tcPDPtr | particle () const |
The incoming particle type. | |
tPBPtr | incoming () const |
In the case the incoming particle in turn is extracted from another particle, return the PartonBin for that extraction. | |
const PBVector & | outgoing () const |
The parton bins corresponding to the extracted parton if it in turn can be extracted from. | |
void | addOutgoing (tPBPtr pb) |
Add a parton bin corresponding to the extracted parton if it in turn can be extracted from. | |
tcPDPtr | parton () const |
The extracted parton type. | |
tcPDFPtr | pdf () const |
The PDFBase object describing the momentum distribution of the parton within the particle in this PartonBin. | |
tcRemHPtr | remnantHandler () const |
The remnant handler associated with the pdf(). | |
int | nDim (bool doscale) |
Detemine the number of degrees of freedom needed to generate the phase space of this and parent partons. | |
int | pdfDim () const |
Return the number of degrees of freedom used by the parton density and remnant handler. | |
int | remDim () const |
Return the number of degrees of freedom used by the parton density and remnant handler. | |
Functions used in the generation. | |
const PDFCuts & | cuts () const |
Return the cuts specified for this bin. | |
double | fullFn (Energy2 newScale=-1.0 *GeV2) |
Return the parton density for this and parent particles. | |
tPBPtr | getFirst () |
Return the parton bin corresponding to the first incoming particle. | |
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. | |
Private Member Functions | |
PartonBin & | operator= (const PartonBin &) |
Private and non-existent assignment operator. | |
Private Attributes | |
cPDPtr | theParticle |
The incoming particle type. | |
tPBPtr | theIncomingBin |
In the case the incoming particle in turn is extracted from another particle, return the PartonBin for that extraction. | |
PBVector | theOutgoing |
The parton bins corresponding to the extracted parton if it itself can be extracted from. | |
cPDPtr | theParton |
The extracted parton type. | |
cPDFPtr | thePDF |
The PDFBase object describing the momentum distribution of the parton within the particle in this PartonBin. | |
cRemHPtr | theRemnantHandler |
The remnant handler associated with the pdf(). | |
int | thePDFDim |
The number of degrees of freedom needed to generate the phase space for this parton for the parton density. | |
int | theRemDim |
The number of degrees of freedom needed to generate the phase space for this parton for the remnant handler. | |
PDFCuts | theCuts |
The cuts specified for this bin. | |
Static Private Attributes | |
static ClassDescription < PartonBin > | initPartonBin |
Describe a concrete class with persistent data. |
Several PartonBin objects can be used to specify a whole chain of partons extracted from particles extracted from other particles. A PartonBin without an incoming() PartonBin represents the incoming particle itself and is used to stop recursion.
After the extraction of a parton, the kinematical variables of that extraction is stored in a orresponding PartonBinInfo object.
Definition at line 38 of file PartonBin.h.
typedef vector<PBPtr> ThePEG::PartonBin::PBVector |
ThePEG::PartonBin::PartonBin | ( | tcPDPtr | p, | |
tPBPtr | prev, | |||
tcPDPtr | pi, | |||
tcPDFPtr | pdf, | |||
const PDFCuts & | newCuts | |||
) |
Standard constructor.
p | the incoming particle type. Possibly null if this bin represents the incoming particle itself. | |
prev | the PartonBin of the incoming particle. Possibly null if this bin represents the incoming particle itself. | |
pi | the parton to be extracted. | |
the density function to be used. Possibly null if this bin represents the incoming particle itself. | ||
newCuts | the kinematical cuts on the extraction. |
int ThePEG::PartonBin::nDim | ( | bool | doscale | ) |
Detemine the number of degrees of freedom needed to generate the phase space of this and parent partons.
If doscale is true this bin is expected to generate the scale in addition to the momentum fraction.
double ThePEG::PartonBin::fullFn | ( | Energy2 | newScale = -1.0 *GeV2 |
) |
Return the parton density for this and parent particles.
If the argument is positive, this scale should be used.
void ThePEG::PartonBin::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
void ThePEG::PartonBin::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. |