thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.1.4
ThePEG::LastXCombInfo< XC > Class Template Reference

LastXCombInfo is a templated class giving easy access to the information in an XComb object. More...

#include <LastXCombInfo.h>

Inheritance diagram for ThePEG::LastXCombInfo< XC >:

Public Types

typedef ThePEG::Ptr< XC >::pointer XCPtr
 Alias for a reference counted pointer to XC . More...
 
typedef ThePEG::Ptr< XC >::const_pointer cXCPtr
 Alias for a reference counted pointer to a const XC . More...
 
typedef ThePEG::Ptr< XC >::transient_pointer tXCPtr
 Alias for a transient pointer to XC . More...
 
typedef ThePEG::Ptr< XC >::transient_const_pointer tcXCPtr
 Alias for a transient pointer to a const XC . More...
 

Public Member Functions

Acces to the actual XComb object.
const XC & lastXComb () const
 Return a reference to the last selected XComb.
 
tXCPtr lastXCombPtr () const
 Return a pointer to the last selected XComb.
 
const XC & lastHeadXComb () const
 If the last selected XComb object belongs to a group of XComb's return a reference to the head XComb object for this group.
 
tXCPtr lastHeadXCombPtr () const
 If the last selected XComb object belongs to a group of XComb's return a pointer to the head XComb object for this group.
 
Access the objects used by the XComb object.
const EventHandlerlastEventHandler () const
 Return a reference to the currently used EventHandler.
 
tPExtrPtr lastExtractor () const
 A pointer to the currently used parton extractor.
 
template<typename PDFT >
PDFT pdf (tcPPtr parton) const
 Return the parton density used to extract the given parton. More...
 
const CutslastCuts () const
 A reference to the currently used kinematical cuts.
 
tCutsPtr lastCutsPtr () const
 A pointer to the currently used kinematical cuts.
 
Access information about the incoming particles and partons.
const PPairlastParticles () const
 Return the pair of incoming parton instances.
 
Energy2 lastS () const
 The last generated total energy squared of the incoming particles.
 
const PPairlastPartons () const
 Return the pair of incoming parton instances.
 
Energy2 lastSHat () const
 The last used interval in total parton-parton energy squared.
 
double lastTau () const
 Return lastSHat()/lastS().
 
double lastY () const
 The 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...
 
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...
 
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...
 
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.
 
double lastFL1L2 () const
 The product of the parton density functions at the last generated phase-space point.
 
Access information of the hard sub-process.
Energy2 lastScale () const
 The chosen scale of the hard scattering.
 
double lastAlphaS () const
 Get the $\alpha_S$ used in the hard scattering. More...
 
double lastAlphaEM () const
 Get the $\alpha_{EM}$ used in the hard scattering. More...
 
const vector< Lorentz5Momentum > & meMomenta () const
 Return the momenta of the incoming and outgoing partons to be used by the matrix element object, in the order specified by the TreeDiagram objects given by the matrix element.
 
double lastME2 () const
 Return the matrix element squared as calculated for the last phase space point. More...
 
double lastPreweight () const
 Return the last preweight factor.
 
double jacobian () const
 Get the last jacobian obtained when generating the kinematics for the call to dSigHatDR.
 
CrossSection lastMECrossSection () const
 Return the partonic cross section as calculated for the last phase space point. More...
 
double lastMEPDFWeight () const
 Return the PDF weight as calculated for the last phase space point, if the matrix element does supply PDF weights. More...
 
double lastMECouplings () const
 Return the coupling weight as calculated for the last phase space point.
 
tSubProPtr subProcess () const
 Return the SubProcess object corresponding to the last generated sub-process.
 
const cPDVectormePartonData () const
 Return the incoming and outgoing parton types to be used by the matrix element object, in the order specified by the TreeDiagram objects given by the matrix element.
 

Protected Attributes

XCPtr theLastXComb
 The pointer to the last selected XComb.
 

Detailed Description

template<typename XC = XComb>
class ThePEG::LastXCombInfo< XC >

LastXCombInfo is a templated class giving easy access to the information in an XComb object.

The default template argument is the basic XComb class, but also subclasses of XComb can be used. Classes which need to have easy access to the last selected XComb object with information about the sub-process which is being generated, should (possibly multiple) inherit from the LastXCombInfo class. The LastXCombInfo is templated to enable derived classes to only include dependencies necessary for the access function which are actually used.

Definition at line 32 of file LastXCombInfo.h.

Member Typedef Documentation

◆ cXCPtr

template<typename XC = XComb>
typedef ThePEG::Ptr< XC >::const_pointer ThePEG::LastXCombInfo< XC >::cXCPtr

Alias for a reference counted pointer to a const XC .

Definition at line 36 of file LastXCombInfo.h.

◆ tcXCPtr

template<typename XC = XComb>
typedef ThePEG::Ptr< XC >::transient_const_pointer ThePEG::LastXCombInfo< XC >::tcXCPtr

Alias for a transient pointer to a const XC .

Definition at line 36 of file LastXCombInfo.h.

◆ tXCPtr

template<typename XC = XComb>
typedef ThePEG::Ptr< XC >::transient_pointer ThePEG::LastXCombInfo< XC >::tXCPtr

Alias for a transient pointer to XC .

Definition at line 36 of file LastXCombInfo.h.

◆ XCPtr

template<typename XC = XComb>
typedef ThePEG::Ptr< XC >::pointer ThePEG::LastXCombInfo< XC >::XCPtr

Alias for a reference counted pointer to XC .

Definition at line 36 of file LastXCombInfo.h.

Member Function Documentation

◆ lastAlphaEM()

template<typename XC = XComb>
double ThePEG::LastXCombInfo< XC >::lastAlphaEM ( ) const
inline

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

Is negative if no value has been set.

Definition at line 205 of file LastXCombInfo.h.

◆ lastAlphaS()

template<typename XC = XComb>
double ThePEG::LastXCombInfo< XC >::lastAlphaS ( ) const
inline

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

Is negative if no value has been set.

Definition at line 199 of file LastXCombInfo.h.

◆ lastL1()

template<typename XC = XComb>
double ThePEG::LastXCombInfo< XC >::lastL1 ( ) const
inline

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

the first incoming particle.

Definition at line 149 of file LastXCombInfo.h.

◆ lastL2()

template<typename XC = XComb>
double ThePEG::LastXCombInfo< XC >::lastL2 ( ) const
inline

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

the second incoming particle.

Definition at line 155 of file LastXCombInfo.h.

◆ lastME2()

template<typename XC = XComb>
double ThePEG::LastXCombInfo< XC >::lastME2 ( ) const
inline

Return the matrix element squared as calculated for the last phase space point.

This may optionally be used by a matrix element for caching.

Definition at line 219 of file LastXCombInfo.h.

◆ lastMECrossSection()

template<typename XC = XComb>
CrossSection ThePEG::LastXCombInfo< XC >::lastMECrossSection ( ) const
inline

Return the partonic cross section as calculated for the last phase space point.

This may optionally be used by a matrix element for caching.

Definition at line 237 of file LastXCombInfo.h.

◆ lastMEPDFWeight()

template<typename XC = XComb>
double ThePEG::LastXCombInfo< XC >::lastMEPDFWeight ( ) const
inline

Return the PDF weight as calculated for the last phase space point, if the matrix element does supply PDF weights.

This may optionally be used by a matrix element for caching.

Definition at line 245 of file LastXCombInfo.h.

◆ lastP1()

template<typename XC = XComb>
double ThePEG::LastXCombInfo< XC >::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 137 of file LastXCombInfo.h.

◆ lastP2()

template<typename XC = XComb>
double ThePEG::LastXCombInfo< XC >::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 143 of file LastXCombInfo.h.

◆ lastX1()

template<typename XC = XComb>
double ThePEG::LastXCombInfo< XC >::lastX1 ( ) const
inline

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

the first incoming particle.

Definition at line 161 of file LastXCombInfo.h.

◆ lastX2()

template<typename XC = XComb>
double ThePEG::LastXCombInfo< XC >::lastX2 ( ) const
inline

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

the second incoming particle.

Definition at line 167 of file LastXCombInfo.h.

◆ pdf()

template<typename XC = XComb>
template<typename PDFT >
PDFT ThePEG::LastXCombInfo< XC >::pdf ( tcPPtr  parton) const
inline

Return the parton density used to extract the given parton.

This function is templated to avoid having to include the PDF.h and all its dependencies in this header.

Definition at line 85 of file LastXCombInfo.h.


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