ThePEG::PartonBin Class Reference

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>

Inheritance diagram for ThePEG::PartonBin:

ThePEG::Base ThePEG::Pointer::ReferenceCounted

List of all members.

Public Types

typedef vector< PBPtrPBVector
 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 PBVectoroutgoing () 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 PDFCutscuts () 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

PartonBinoperator= (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.


Detailed Description

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.

See also:
PartonExtractor

Definition at line 38 of file PartonBin.h.


Member Typedef Documentation

A vector of pointers to PartonBin objects.

Definition at line 43 of file PartonBin.h.


Constructor & Destructor Documentation

ThePEG::PartonBin::PartonBin ( tcPDPtr  p,
tPBPtr  prev,
tcPDPtr  pi,
tcPDFPtr  pdf,
const PDFCuts newCuts 
)

Standard constructor.

Parameters:
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.
pdf the density function to be used. Possibly null if this bin represents the incoming particle itself.
newCuts the kinematical cuts on the extraction.


Member Function Documentation

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.

Parameters:
os the persistent output stream written to.

void ThePEG::PartonBin::persistentInput ( PersistentIStream is,
int  version 
)

Function used to read in object persistently.

Parameters:
is the persistent input stream read from.
version the version number of the object when written.


The documentation for this class was generated from the following file:

Generated on Thu Apr 29 12:43:14 2010 for ThePEG by  doxygen 1.5.5