thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
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:

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 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. 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 PDFCutscuts () 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

PartonBinoperator= (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< PartonBininitPartonBin
 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.
 
ReferenceCountedoperator= (const ReferenceCounted &)
 Assignment.
 

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

◆ PBVector

typedef vector<PBPtr> ThePEG::PartonBin::PBVector

A vector of pointers to PartonBin objects.

Definition at line 43 of file PartonBin.h.

Constructor & Destructor Documentation

◆ PartonBin()

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

Standard constructor.

Parameters
pthe incoming particle type. Possibly null if this bin represents the incoming particle itself.
prevthe PartonBin of the incoming particle. Possibly null if this bin represents the incoming particle itself.
pithe parton to be extracted.
pdfthe density function to be used. Possibly null if this bin represents the incoming particle itself.
newCutsthe kinematical cuts on the extraction.

Member Function Documentation

◆ nDim()

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().

◆ persistentInput()

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

Function used to read in object persistently.

Parameters
isthe persistent input stream read from.
versionthe version number of the object when written.

Referenced by cuts().

◆ persistentOutput()

void ThePEG::PartonBin::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

Referenced by cuts().


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