ThePEG::PartonBinInstance Class Reference

PartonBinInstance is used to store information about the generation of a given parton extraction for a corresponding PartonBin object. More...

#include <PartonBinInstance.h>

Inheritance diagram for ThePEG::PartonBinInstance:

ThePEG::Base ThePEG::Pointer::ReferenceCounted

List of all members.

Public Member Functions

Standard constructors and destructors.
 PartonBinInstance ()
 Default constructor.
 PartonBinInstance (const PartonBinInstance &)
 Copy-constructor.
virtual ~PartonBinInstance ()
 Destructor.
 PartonBinInstance (tcPBPtr, tPBIPtr=tPBIPtr())
 Constructor taking a PartonBin as argument.
 PartonBinInstance (tPPtr parton, tcPBPtr pb, Energy2 scale=ZERO)
 Constructor using an already prepared extracted parton.
Access information about the corresponding PartonBin object.
tcPBPtr bin () const
 Return a pointer to the PartonBin this instance refer to.
const PartonVectorbins () const
 Return pointers to the bins this instance refer to in case more than one parton has been extracted.
tcPDPtr particleData () const
 Return a pointer to the data object of the incoming particle.
tcPDPtr partonData () const
 Return a pointer to the data object of the extracted parton.
tPBIPtr incoming () const
 In the case the incoming particle in turn is extracted from another particle, return the PartonBinInstance for that extraction.
tPBIPtr getFirst ()
 Return the parton bin instance corresponding to the first incoming particle for this bin.
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().
bool hasPoleIn1 () const
 Return true if the corresponding PDFs has a pole at $x=1$ for the current particle/parton combination.
Functions used for the generation.
void reset (double lx=0, Energy2 Q2=ZERO)
 Reset the current PartonBin, making room for a new event.
void prepare ()
 Reset last generated l and Q2 values of this and parent bins.
void generate (const double *r)
 Generate l and Q2 of this and parent bins.
double fullFn (Energy2 newScale=-GeV2)
 Return the parton density for this and parent particles.
double jacobian () const
 Get the jacobian associated with the phase space point generated.
void jacobian (double j)
 Set the jacobian associated with the phase space point generated.
Access information about the generated extraction.
tPPtr particle () const
 Get the current particle instance.
void particle (tPPtr p)
 Set the current particle instance.
tPPtr parton () const
 Get the current parton instance.
void parton (tPPtr p)
 Set the current parton instance.
const PVectorpartons () const
 The currently extracted partons (in case of multiple interactions.
double xi () const
 Get the momentum fraction of this parton w.r.t.
double eps () const
 Get one minus the momentum fraction of this parton w.r.t.
double li () const
 Get the logarithmic momentum fraction of this parton w.r.t.
void li (double lx)
 Set the logarithmic momentum fraction of this parton w.r.t.
double x () const
 Get the momentum fraction of this parton w.r.t.
double l () const
 Get the logarithmic momentum fraction of this parton w.r.t.
void l (double lx)
 Set the logarithmic momentum fraction of this parton w.r.t.
Energy2 scale () const
 Get the scale at which the current parton was extracted.
void scale (Energy2 s)
 Set the scale at which the current parton was extracted.
const TransverseMomentumkT () const
 Return the transverse momentum of the extracted parton.
double remnantWeight () const
 Get the weight associated with the remnant generation.
void remnantWeight (double w)
 Set the weight associated with the remnant generation.
const PVectorremnants () const
 Get the current remnants.
void remnants (const PVector &rems)
 Set the current remnants.
tRemIPtr remnantInfo () const
 Get information saved by the remnant handler from the generation, to be used in the construction of the remnants.
void remnantInfo (tRemIPtr ri)
 Set information saved by the remnant handler from the generation, to be used in the construction of the remnants.
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 interfaces.

Private Member Functions

PartonBinInstanceoperator= (const PartonBinInstance &)
 Private and non-existent assignment operator.

Private Attributes

cPBPtr theBin
 Pointer to the main bin this instance refer to.
PartonVector theBins
 Pointer to the main bin (and secondary in case several partons have been extracted this instance refer to.
PBIPtr theIncoming
 In the case the incoming particle in turn is extracted from another particle, this is the PartonBinInstance for that extraction.
double theJacobian
 The jacobian associated with the phase space point generated.
PPtr theParticle
 The current particle instance.
PPtr theParton
 The current parton instance.
PVector thePartons
 The currently extracted partons (in case of multiple interactions.
double theXi
 The momentum fraction (xi, li=log(xi), eps=1-xi), of this parton w.r.t.
double theEps
 The momentum fraction (xi, li=log(xi), eps=1-xi), of this parton w.r.t.
double theLi
 The momentum fraction (xi, li=log(xi), eps=1-xi), of this parton w.r.t.
double theX
 The momentum fraction (x, l=log(x)) of this parton w.r.t.
double theL
 The momentum fraction (x, l=log(x)) of this parton w.r.t.
Energy2 theScale
 The scale at which the current parton was extracted.
TransverseMomentum theKT
 The transverse momentum of the extracted parton.
double theRemnantWeight
 The weight associated with the remnant generation.
PVector theRemnants
 The current remnants.
RemIPtr theRemInfo
 The information saved by the remnant handler from the generation, to be used in the construction of the remnants.

Static Private Attributes

static ClassDescription
< PartonBinInstance
initPartonBinInstance
 Describe a concrete class with persistent data.


Detailed Description

PartonBinInstance is used to store information about the generation of a given parton extraction for a corresponding PartonBin object.

Definition at line 28 of file PartonBinInstance.h.


Constructor & Destructor Documentation

ThePEG::PartonBinInstance::PartonBinInstance ( tcPBPtr  ,
tPBIPtr  = tPBIPtr() 
)

Constructor taking a PartonBin as argument.

The second argument should be used if the incoming bin is already known and exists.

ThePEG::PartonBinInstance::PartonBinInstance ( tPPtr  parton,
tcPBPtr  pb,
Energy2  scale = ZERO 
)

Constructor using an already prepared extracted parton.

This will also initialize the x, and scale values. To calculate the momentum fractions, a Direction<0> object must have been properly initialized.

Parameters:
parton the extracted parton which must have its first parent set to define the particle extracted from.
pb the PartonBin object corresponding to the extracted parton. If the particle extracted from in turn has been extracted, the incoming() member of the PartonBin must point to the corresponding PartonBin.
scale the resolution scale at which the parton was extracted.


Member Function Documentation

double ThePEG::PartonBinInstance::fullFn ( Energy2  newScale = -GeV2  ) 

Return the parton density for this and parent particles.

If the argument is positive, this scale should be used.

double ThePEG::PartonBinInstance::xi (  )  const [inline]

Get the momentum fraction of this parton w.r.t.

the incoming particle in this bin.

Definition at line 198 of file PartonBinInstance.h.

References li(), and theXi.

double ThePEG::PartonBinInstance::eps (  )  const [inline]

Get one minus the momentum fraction of this parton w.r.t.

the incoming particle in this bin.

Definition at line 208 of file PartonBinInstance.h.

References ThePEG::Math::exp1m(), li(), and theEps.

double ThePEG::PartonBinInstance::li (  )  const [inline]

Get the logarithmic momentum fraction of this parton w.r.t.

the incoming particle in this bin.

Definition at line 217 of file PartonBinInstance.h.

References theLi.

Referenced by eps(), and xi().

void ThePEG::PartonBinInstance::li ( double  lx  )  [inline]

Set the logarithmic momentum fraction of this parton w.r.t.

the incoming particle in this bin.

Definition at line 223 of file PartonBinInstance.h.

References theEps, theLi, and theXi.

double ThePEG::PartonBinInstance::x (  )  const [inline]

Get the momentum fraction of this parton w.r.t.

the collidig particles.

Definition at line 233 of file PartonBinInstance.h.

References l(), and theX.

double ThePEG::PartonBinInstance::l (  )  const [inline]

Get the logarithmic momentum fraction of this parton w.r.t.

the collidig particles.

Definition at line 243 of file PartonBinInstance.h.

References theL.

Referenced by x().

void ThePEG::PartonBinInstance::l ( double  lx  )  [inline]

Set the logarithmic momentum fraction of this parton w.r.t.

the collidig particles.

Definition at line 249 of file PartonBinInstance.h.

References theL, and theX.

tRemIPtr ThePEG::PartonBinInstance::remnantInfo (  )  const [inline]

Get information saved by the remnant handler from the generation, to be used in the construction of the remnants.

(In addition the remnantWeight and remnants() may be used for this purpose.)

Definition at line 296 of file PartonBinInstance.h.

References theRemInfo.

void ThePEG::PartonBinInstance::remnantInfo ( tRemIPtr  ri  )  [inline]

Set information saved by the remnant handler from the generation, to be used in the construction of the remnants.

(In addition the remnantWeight and remnants() may be used for this purpose.)

Definition at line 303 of file PartonBinInstance.h.

References theRemInfo.

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

Function used to write out object persistently.

Parameters:
os the persistent output stream written to.

void ThePEG::PartonBinInstance::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.


Member Data Documentation

double ThePEG::PartonBinInstance::theXi [mutable, private]

The momentum fraction (xi, li=log(xi), eps=1-xi), of this parton w.r.t.

the incoming particle in this bin.

Definition at line 375 of file PartonBinInstance.h.

Referenced by li(), and xi().

double ThePEG::PartonBinInstance::theEps [mutable, private]

The momentum fraction (xi, li=log(xi), eps=1-xi), of this parton w.r.t.

the incoming particle in this bin.

Definition at line 381 of file PartonBinInstance.h.

Referenced by eps(), and li().

The momentum fraction (xi, li=log(xi), eps=1-xi), of this parton w.r.t.

the incoming particle in this bin.

Definition at line 387 of file PartonBinInstance.h.

Referenced by li().

double ThePEG::PartonBinInstance::theX [mutable, private]

The momentum fraction (x, l=log(x)) of this parton w.r.t.

the collidig particles.

Definition at line 393 of file PartonBinInstance.h.

Referenced by l(), and x().

The momentum fraction (x, l=log(x)) of this parton w.r.t.

the collidig particles.

Definition at line 398 of file PartonBinInstance.h.

Referenced by l().

The information saved by the remnant handler from the generation, to be used in the construction of the remnants.

(In addition the remnantWeight and lastRemnants() may be used for this purpose.)

Definition at line 425 of file PartonBinInstance.h.

Referenced by remnantInfo().


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