thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
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 .
 
typedef ThePEG::Ptr< XC >::const_pointer cXCPtr
 Alias for a reference counted pointer to a const XC .
 
typedef ThePEG::Ptr< XC >::transient_pointer tXCPtr
 Alias for a transient pointer to XC .
 
typedef ThePEG::Ptr< XC >::transient_const_pointer tcXCPtr
 Alias for a transient pointer to a const XC .
 

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.
 
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.
 
double lastP2 () const
 Log of one over the momentum fraction of the second incoming particle w.r.t.
 
double lastL1 () const
 Log of one over the first incoming parton momentum fraction w.r.t.
 
double lastL2 () const
 Log of one over the second incoming parton momentum fraction w.r.t.
 
double lastX1 () const
 The first incoming parton momentum fraction w.r.t.
 
double lastX2 () const
 The second incoming parton momentum fraction w.r.t.
 
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.

XCPtr theLastXComb
 The pointer to the last selected XComb.
 
Energy2 lastScale () const
 The chosen scale of the hard scattering.
 
double lastAlphaS () const
 Get the \(\alpha_S\) used in the hard scattering.
 
double lastAlphaEM () const
 Get the \(\alpha_{EM}\) used in the hard scattering.
 
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.
 
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.
 
double lastMEPDFWeight () const
 Return the PDF weight as calculated for the last phase space point, if the matrix element does supply PDF weights.
 
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.
 

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

◆ jacobian()

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

Get the last jacobian obtained when generating the kinematics for the call to dSigHatDR.

Definition at line 230 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ 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.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ 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.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ lastCuts()

template<typename XC = XComb>
const Cuts & ThePEG::LastXCombInfo< XC >::lastCuts ( ) const
inline

A reference to the currently used kinematical cuts.

Definition at line 92 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ lastCutsPtr()

template<typename XC = XComb>
tCutsPtr ThePEG::LastXCombInfo< XC >::lastCutsPtr ( ) const
inline

A pointer to the currently used kinematical cuts.

Definition at line 97 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ lastE1()

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

Return 1-lastX1() to highest possible precision for x \(\rightarrow\) 1.

Definition at line 173 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ lastE2()

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

Return 1-lastX2() to highest possible precision for x \(\rightarrow\) 1.

Definition at line 179 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ lastEventHandler()

template<typename XC = XComb>
const EventHandler & ThePEG::LastXCombInfo< XC >::lastEventHandler ( ) const
inline

Return a reference to the currently used EventHandler.

Definition at line 72 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ lastExtractor()

template<typename XC = XComb>
tPExtrPtr ThePEG::LastXCombInfo< XC >::lastExtractor ( ) const
inline

A pointer to the currently used parton extractor.

Definition at line 77 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ lastFL1L2()

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

The product of the parton density functions at the last generated phase-space point.

Definition at line 185 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ lastHeadXComb()

template<typename XC = XComb>
const XC & ThePEG::LastXCombInfo< XC >::lastHeadXComb ( ) const
inline

If the last selected XComb object belongs to a group of XComb's return a reference to the head XComb object for this group.

Definition at line 57 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ lastHeadXCombPtr()

template<typename XC = XComb>
tXCPtr ThePEG::LastXCombInfo< XC >::lastHeadXCombPtr ( ) const
inline

If the last selected XComb object belongs to a group of XComb's return a pointer to the head XComb object for this group.

Definition at line 64 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ 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.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ 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.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ 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.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ lastMECouplings()

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

Return the coupling weight as calculated for the last phase space point.

Definition at line 251 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ 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.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ 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.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ 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.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ 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.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ lastParticles()

template<typename XC = XComb>
const PPair & ThePEG::LastXCombInfo< XC >::lastParticles ( ) const
inline

Return the pair of incoming parton instances.

Definition at line 106 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ lastPartons()

template<typename XC = XComb>
const PPair & ThePEG::LastXCombInfo< XC >::lastPartons ( ) const
inline

Return the pair of incoming parton instances.

Definition at line 116 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ lastPreweight()

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

Return the last preweight factor.

Definition at line 224 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ lastS()

template<typename XC = XComb>
Energy2 ThePEG::LastXCombInfo< XC >::lastS ( ) const
inline

The last generated total energy squared of the incoming particles.

Definition at line 111 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ lastScale()

template<typename XC = XComb>
Energy2 ThePEG::LastXCombInfo< XC >::lastScale ( ) const
inline

The chosen scale of the hard scattering.

Definition at line 193 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ lastSHat()

template<typename XC = XComb>
Energy2 ThePEG::LastXCombInfo< XC >::lastSHat ( ) const
inline

The last used interval in total parton-parton energy squared.

Definition at line 121 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ lastTau()

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

Return lastSHat()/lastS().

Definition at line 126 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ 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.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ 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.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ lastXComb()

template<typename XC = XComb>
const XC & ThePEG::LastXCombInfo< XC >::lastXComb ( ) const
inline

Return a reference to the last selected XComb.

Definition at line 45 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::theLastXComb.

Referenced by ThePEG::LastXCombInfo< XC >::jacobian(), ThePEG::LastXCombInfo< XC >::lastAlphaEM(), ThePEG::LastXCombInfo< XC >::lastAlphaS(), ThePEG::LastXCombInfo< XC >::lastCuts(), ThePEG::LastXCombInfo< XC >::lastCutsPtr(), ThePEG::LastXCombInfo< XC >::lastE1(), ThePEG::LastXCombInfo< XC >::lastE2(), ThePEG::LastXCombInfo< XC >::lastEventHandler(), ThePEG::LastXCombInfo< XC >::lastExtractor(), ThePEG::LastXCombInfo< XC >::lastFL1L2(), ThePEG::LastXCombInfo< XC >::lastHeadXComb(), ThePEG::LastXCombInfo< XC >::lastHeadXCombPtr(), ThePEG::LastXCombInfo< XC >::lastL1(), ThePEG::LastXCombInfo< XC >::lastL2(), ThePEG::LastXCombInfo< XC >::lastME2(), ThePEG::LastXCombInfo< XC >::lastMECouplings(), ThePEG::LastXCombInfo< XC >::lastMECrossSection(), ThePEG::LastXCombInfo< XC >::lastMEPDFWeight(), ThePEG::LastXCombInfo< XC >::lastP1(), ThePEG::LastXCombInfo< XC >::lastP2(), ThePEG::LastXCombInfo< XC >::lastParticles(), ThePEG::LastXCombInfo< XC >::lastPartons(), ThePEG::LastXCombInfo< XC >::lastPreweight(), ThePEG::LastXCombInfo< XC >::lastS(), ThePEG::LastXCombInfo< XC >::lastScale(), ThePEG::LastXCombInfo< XC >::lastSHat(), ThePEG::LastXCombInfo< XC >::lastTau(), ThePEG::LastXCombInfo< XC >::lastX1(), ThePEG::LastXCombInfo< XC >::lastX2(), ThePEG::LastXCombInfo< XC >::lastY(), ThePEG::LastXCombInfo< XC >::meMomenta(), ThePEG::LastXCombInfo< XC >::mePartonData(), ThePEG::LastXCombInfo< XC >::pdf(), and ThePEG::LastXCombInfo< XC >::subProcess().

◆ lastXCombPtr()

template<typename XC = XComb>
tXCPtr ThePEG::LastXCombInfo< XC >::lastXCombPtr ( ) const
inline

Return a pointer to the last selected XComb.

Definition at line 50 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::theLastXComb.

Referenced by ThePEG::PartonExtractor::partonBinInstances().

◆ lastY()

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

The generated rapidity of the hard scattering sub-system.

Definition at line 131 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ meMomenta()

template<typename XC = XComb>
const vector< Lorentz5Momentum > & ThePEG::LastXCombInfo< XC >::meMomenta ( ) const
inline

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.

Definition at line 212 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ mePartonData()

template<typename XC = XComb>
const cPDVector & ThePEG::LastXCombInfo< XC >::mePartonData ( ) const
inline

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.

Definition at line 264 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ 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.

References ThePEG::LastXCombInfo< XC >::lastXComb().

◆ subProcess()

template<typename XC = XComb>
tSubProPtr ThePEG::LastXCombInfo< XC >::subProcess ( ) const
inline

Return the SubProcess object corresponding to the last generated sub-process.

Definition at line 257 of file LastXCombInfo.h.

References ThePEG::LastXCombInfo< XC >::lastXComb().

Member Data Documentation

◆ theLastXComb

template<typename XC = XComb>
XCPtr ThePEG::LastXCombInfo< XC >::theLastXComb
protected

The pointer to the last selected XComb.

Definition at line 272 of file LastXCombInfo.h.

Referenced by ThePEG::LastXCombInfo< XC >::lastXComb(), and ThePEG::LastXCombInfo< XC >::lastXCombPtr().


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