thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
ThePEG::XComb Class Reference

The XComb class stores all information about the generation of a hard sub-proces for a given pair of incoming particles, a pair of extracted partons, total parton-parton energy squared and a PartonExtractor object. More...

#include <XComb.h>

Inheritance diagram for ThePEG::XComb:

Public Member Functions

bool hasMeta (int id) const
 Check for meta information.
 
template<class T >
void meta (int id, T &ref)
 Set meta information.
 
void eraseMeta (int id)
 Erase meta information.
 
template<class T >
T & meta (int id) const
 Retrieve meta information.
 
void setPartonBinInfo ()
 Set the local parton bin info objects for this XComb.
 
void createPartonBinInstances ()
 Create PartonBinInstance objects for this XComb.
 
void lastParticles (const PPair &p)
 Set the pair of incoming particle instances.
 
void resetPartonBinInstances (const PBIPair &newBins)
 Set information about currently generated partons.
 
Standard constructors and destructors.
 XComb (Energy newMaxEnergy, const cPDPair &inc, tEHPtr newEventHandler, tPExtrPtr newExtractor, tCascHdlPtr newCKKW, const PBPair &newPartonBins, tCutsPtr newCuts)
 Standard constructor.
 
 XComb ()
 Default constructor.
 
virtual ~XComb ()
 Destructor.
 
Access the assigned objects used in the generation.
const EventHandlereventHandler () const
 Return a reference to the corresponding collision handler.
 
tEHPtr eventHandlerPtr () const
 Return a pointer to the corresponding collision handler.
 
tPExtrPtr pExtractor () const
 A pointer to the parton extractor.
 
tCutsPtr cuts () const
 A pointer to the kinematical cuts.
 
tCascHdlPtr CKKWHandler () const
 Return a possibly null pointer to a CascadeHandler to be used for CKKW-reweighting.
 
Access information about incoming particles and partons.
const cPDPairparticles () const
 The incoming particle types.
 
const cPDPairpartons () const
 The incoming parton types.
 
const PBPair & partonBins () const
 Additional information about the incoming partons.
 
Energy maxEnergy () const
 The maximum cm energy for this process.
 
bool empty () const
 Returns true if this XComb does not correspond to a proper subprocess generation. More...
 
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

XComboperator= (const XComb &)=delete
 Private and non-existent assignment operator.
 

Private Attributes

tEHPtr theEventHandler
 The corresponding collision handler.
 
tPExtrPtr thePartonExtractor
 A pointer to the parton extractor.
 
tCascHdlPtr theCKKW
 A pointer to a CascadeHandler to be used for CKKW-reweighting.
 
tCutsPtr theCuts
 A pointer to the kinematical cuts used.
 
cPDPair theParticles
 The incoming particle types.
 
cPDPair thePartons
 The incoming parton types.
 
PartonBinInstanceMap thePartonBinInstanceMap
 The parton bin instance map (used by the parton extractor)
 
PBPair thePartonBins
 Additional information about the incoming partons.
 
PBPair theParticleBins
 Additional information about the origins of the incoming partons.
 
PBIPair thePartonBinInstances
 Additional information about the incoming partons.
 
PPair theLastParticles
 The pair of incoming particle instances.
 
PPair theLastPartons
 The pair of incoming parton instances.
 
Energy2 theLastS
 The last generated total energy squared of the incoming particles.
 
Energy2 theLastSHat
 The last generated total energy squared of the incoming prtons.
 
double theLastY
 The last rapidity of the sub process, log(x1/x2)/2.
 
DPair theLastP1P2
 Log of one over the momentum fraction of the incoming particles.
 
DPair theLastL1L2
 Log of one over the incoming partons momentum fraction wrt. More...
 
DPair theLastX1X2
 The incoming partons momentum fraction wrt. More...
 
DPair theLastE1E2
 1-lastX1() and 1-lastX2() to highest possible precision for x $\rightarrow$ 1.
 
Energy2 theLastScale
 The last chosen scale of the hard scattering.
 
Energy2 theLastCentralScale
 The last chosen central scale of the hard scattering.
 
Energy2 theLastShowerScale
 The last chosen shower scale.
 
double theLastAlphaS
 The $\alpha_S$ used in the hard scattering.
 
double theLastAlphaEM
 The $\alpha_{EM}$ used in the hard scattering.
 
Energy theMaxEnergy
 The maximum cm energy for this process.
 
DVector theMEInfo
 Information saved by the matrix element in the calculation of the cross section to be used later when selecting diagrams and colour flow.
 
SubProPtr theSub
 The SubProcess object corresponding to the last generated sub-process.
 
map< int, AnyReferencetheMeta
 The meta information.
 

Static Private Attributes

static ClassDescription< XCombinitXComb
 Describe a concrete class with persistent data.
 

Manipulate and acces information about the last selected

phase space point.

typedef map< cPPtr, PBIPtrPartonBinInstanceMap
 A map of PartonBinInstance objects indexed by the extracted parton. More...
 
virtual void clean ()
 Reset all saved data about last generated phasespace point;.
 
void setPartonBinInstances (PBIPair pbis, Energy2 scale)
 Set information about currently generated partons.
 
void prepare (const PPair &)
 Prepare this XComb for producing a sub-process.
 
const PPairlastParticles () const
 Return the pair of incoming particle instances.
 
const PPairlastPartons () const
 Return the pair of incoming parton instances.
 
void lastPartons (PPair pp)
 Set the pair of incoming parton instances.
 
tSubProPtr subProcess () const
 Return the SubProcess object corresponding to the last generated sub-process.
 
void subProcess (tSubProPtr)
 Set the SubProcess object corresponding to the last generated sub-process.
 
PartonBinInstanceMappartonBinInstanceMap ()
 Access the parton bin instance map (used by the parton extractor)
 
const PartonBinInstanceMappartonBinInstanceMap () const
 Return the parton bin instance map (used by the parton extractor)
 
const PBIPairpartonBinInstances () const
 Additional information about the incoming partons.
 
PBIPairpartonBinInstances ()
 Additional information about the incoming partons.
 
tPBIPtr partonBinInstance (tcPPtr) const
 Return the corresponding parton bin instance for a given extracted parton.
 
Energy2 lastS () const
 The last generated total energy squared of the incoming particles.
 
void lastS (Energy2 s)
 Set the last generated total energy squared of the incoming particles.
 
Energy2 lastSHat () const
 The last generated total energy squared of the incoming prtons.
 
void lastSHat (Energy2 sh)
 Set the last generated total energy squared of the incoming prtons.
 
double lastTau () const
 lastSHat()/lastS().
 
double lastY () const
 The last generated rapidity of the hard scattering sub-system.
 
void lastY (double y)
 Set the last generated rapidity of the hard scattering sub-system.
 
double lastP1 () const
 Log of one over the momentum fraction of the first incoming particle w.r.t. More...
 
double lastP2 () const
 Log of one over the momentum fraction of the second incoming particle w.r.t. More...
 
void lastP1P2 (pair< double, double > pp)
 Set log of one over the momentum fraction of the incoming particles w.r.t. More...
 
double lastL1 () const
 Log of one over the first incoming parton momentum fraction w.r.t. More...
 
double lastL2 () const
 Log of one over the second incoming parton momentum fraction w.r.t. More...
 
void lastL1L2 (pair< double, double >)
 Set log of one over the incoming parton momentum fractions w.r.t. More...
 
double lastX1 () const
 The first incoming parton momentum fraction w.r.t. More...
 
double lastX2 () const
 The second incoming parton momentum fraction w.r.t. More...
 
void lastX1X2 (pair< double, double >)
 Set the incoming parton momentum fractions w.r.t. More...
 
double lastE1 () const
 Return 1-lastX1() to highest possible precision for x $\rightarrow$ 1.
 
double lastE2 () const
 Return 1-lastX2() to highest possible precision for x $\rightarrow$ 1.
 
void lastE1E2 (pair< double, double >)
 Set one minus the incoming parton momentum fractions w.r.t. More...
 
Energy2 lastScale () const
 Get the last chosen scale of the hard scattering.
 
void lastScale (Energy2 Q2)
 Set the last chosen scale of the hard scattering.
 
Energy2 lastCentralScale () const
 Get the last chosen central scale of the hard scattering.
 
void lastCentralScale (Energy2 Q2)
 Set the last chosen central scale of the hard scattering.
 
Energy2 lastShowerScale () const
 Get the last chosen shower scale.
 
void lastShowerScale (Energy2 Q2)
 Set the last chosen showr scale.
 
double lastAlphaS () const
 Get the $\alpha_S$ used in the hard scattering. More...
 
void lastAlphaS (double a)
 Set the $\alpha_S$ used in the hard scattering.
 
double lastAlphaEM () const
 Get the $\alpha_{EM}$ used in the hard scattering. More...
 
void lastAlphaEM (double a)
 Set the $\alpha_{EM}$ used in the hard scattering.
 

Additional Inherited Members

- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 The integer type used for counting.
 
- 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 XComb class stores all information about the generation of a hard sub-proces for a given pair of incoming particles, a pair of extracted partons, total parton-parton energy squared and a PartonExtractor object.

When an event is generated, the objects used in the generation can be assigned an XComb object for easy acces to the corresponding information. To facilitate this, the corresponding classes inherits from the LastXCombInfo class which provides the relefant access functions.

See also
PartonExtractor
Cuts
LastXCombInfo

Definition at line 43 of file XComb.h.

Member Typedef Documentation

◆ PartonBinInstanceMap

A map of PartonBinInstance objects indexed by the extracted parton.

Definition at line 176 of file XComb.h.

Member Function Documentation

◆ empty()

bool ThePEG::XComb::empty ( ) const
inline

Returns true if this XComb does not correspond to a proper subprocess generation.

I.e. if we are only generating a partial event and the incoming particles and partons are not used explicitly.

Definition at line 126 of file XComb.h.

References clean(), prepare(), setPartonBinInstances(), and theEventHandler.

◆ lastAlphaEM()

double ThePEG::XComb::lastAlphaEM ( ) const
inline

Get the $\alpha_{EM}$ used in the hard scattering.

Is negative if no value has been set.

Definition at line 368 of file XComb.h.

References theLastAlphaEM.

◆ lastAlphaS()

double ThePEG::XComb::lastAlphaS ( ) const
inline

Get the $\alpha_S$ used in the hard scattering.

Is negative if no value has been set.

Definition at line 357 of file XComb.h.

References theLastAlphaS.

◆ lastE1E2()

void ThePEG::XComb::lastE1E2 ( pair< double, double >  )

Set one minus the incoming parton momentum fractions w.r.t.

the incoming particles.

Referenced by lastE2().

◆ lastL1()

double ThePEG::XComb::lastL1 ( ) const
inline

Log of one over the first incoming parton momentum fraction w.r.t.

the first incoming particle.

Definition at line 263 of file XComb.h.

References theLastL1L2.

◆ lastL1L2()

void ThePEG::XComb::lastL1L2 ( pair< double, double >  )

Set log of one over the incoming parton momentum fractions w.r.t.

the incoming particles.

Referenced by lastL2().

◆ lastL2()

double ThePEG::XComb::lastL2 ( ) const
inline

Log of one over the second incoming parton momentum fraction w.r.t.

the second incoming particle.

Definition at line 269 of file XComb.h.

References lastL1L2(), and theLastL1L2.

◆ lastP1()

double ThePEG::XComb::lastP1 ( ) const
inline

Log of one over the momentum fraction of the first incoming particle w.r.t.

the maximum allowed energy.

Definition at line 245 of file XComb.h.

References theLastP1P2.

◆ lastP1P2()

void ThePEG::XComb::lastP1P2 ( pair< double, double >  pp)
inline

Set log of one over the momentum fraction of the incoming particles w.r.t.

the maximum allowed energy.

Definition at line 257 of file XComb.h.

References theLastP1P2.

◆ lastP2()

double ThePEG::XComb::lastP2 ( ) const
inline

Log of one over the momentum fraction of the second incoming particle w.r.t.

the maximum allowed energy.

Definition at line 251 of file XComb.h.

References theLastP1P2.

◆ lastX1()

double ThePEG::XComb::lastX1 ( ) const
inline

The first incoming parton momentum fraction w.r.t.

the first incoming particle.

Definition at line 281 of file XComb.h.

References theLastX1X2.

◆ lastX1X2()

void ThePEG::XComb::lastX1X2 ( pair< double, double >  )

Set the incoming parton momentum fractions w.r.t.

the incoming particles.

Referenced by lastX2().

◆ lastX2()

double ThePEG::XComb::lastX2 ( ) const
inline

The second incoming parton momentum fraction w.r.t.

the second incoming particle.

Definition at line 287 of file XComb.h.

References lastX1X2(), and theLastX1X2.

◆ persistentInput()

void ThePEG::XComb::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 resetPartonBinInstances().

◆ persistentOutput()

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

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

Referenced by resetPartonBinInstances().

Member Data Documentation

◆ theLastL1L2

DPair ThePEG::XComb::theLastL1L2
private

Log of one over the incoming partons momentum fraction wrt.

the incoming particles.

Definition at line 537 of file XComb.h.

Referenced by lastL1(), and lastL2().

◆ theLastX1X2

DPair ThePEG::XComb::theLastX1X2
private

The incoming partons momentum fraction wrt.

the incoming particles.

Definition at line 543 of file XComb.h.

Referenced by lastX1(), and lastX2().


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