The PartonBin class is used by the PartonExtractor class to store information about the extraction of a parton from a particle. More...
#include <PartonBin.h>
Public Types | |
typedef vector< PBPtr > | PBVector |
A vector of pointers to PartonBin objects. More... | |
Public Types inherited from ThePEG::Pointer::ReferenceCounted | |
typedef unsigned int | CounterType |
The integer type used for counting. | |
Public Member Functions | |
Standard constructors, assignment and destructors. | |
PartonBin (tcPDPtr p, tPBPtr prev, tcPDPtr pi, tcPDFPtr pdf, const PDFCuts &newCuts) | |
Standard constructor. More... | |
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. More... | |
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. | |
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. More... | |
void | persistentInput (PersistentIStream &is, int version) |
Function used to read in object persistently. More... | |
Public Member Functions inherited from ThePEG::Base | |
virtual | ~Base () |
The virtual destructor. | |
void | debug () const |
Print out debugging information for this object on std::cerr. More... | |
virtual void | debugme () const |
Print out debugging information for this object on std::cerr. More... | |
Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted | |
CounterType | referenceCount () const |
Return the reference count. | |
Static Public Member Functions | |
static void | Init () |
Standard Init function used to initialize the interface. | |
Static Public Member Functions inherited from ThePEG::Base | |
static void | Init () |
The standard Init function used to initialize the interfaces. More... | |
Private Member Functions | |
PartonBin & | operator= (const PartonBin &)=delete |
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. | |
Additional Inherited Members | |
Public Attributes inherited from ThePEG::Pointer::ReferenceCounted | |
const unsigned long | uniqueId |
The unique ID. More... | |
Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted | |
ReferenceCounted () | |
Default constructor. | |
ReferenceCounted (const ReferenceCounted &) | |
Copy-constructor. | |
ReferenceCounted & | operator= (const ReferenceCounted &) |
Assignment. | |
The PartonBin class is used by the PartonExtractor class to store information about the extraction of a parton from a particle.
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 |
A vector of pointers to PartonBin objects.
Definition at line 43 of file PartonBin.h.
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.
Referenced by remnantHandler().
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. |
Referenced by cuts().
void ThePEG::PartonBin::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
Referenced by cuts().