ThePEG 2.3.0
|
LastXCombInfo is a templated class giving easy access to the information in an XComb object. More...
#include <LastXCombInfo.h>
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 EventHandler & | lastEventHandler () 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 Cuts & | lastCuts () 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 PPair & | lastParticles () const |
Return the pair of incoming parton instances. | |
Energy2 | lastS () const |
The last generated total energy squared of the incoming particles. | |
const PPair & | lastPartons () 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 cPDVector & | mePartonData () 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. | |
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.
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.
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.
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.
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.
|
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().
|
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().
|
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().
|
inline |
A reference to the currently used kinematical cuts.
Definition at line 92 of file LastXCombInfo.h.
References ThePEG::LastXCombInfo< XC >::lastXComb().
|
inline |
A pointer to the currently used kinematical cuts.
Definition at line 97 of file LastXCombInfo.h.
References ThePEG::LastXCombInfo< XC >::lastXComb().
|
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().
|
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().
|
inline |
Return a reference to the currently used EventHandler.
Definition at line 72 of file LastXCombInfo.h.
References ThePEG::LastXCombInfo< XC >::lastXComb().
|
inline |
A pointer to the currently used parton extractor.
Definition at line 77 of file LastXCombInfo.h.
References ThePEG::LastXCombInfo< XC >::lastXComb().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
inline |
Return the pair of incoming parton instances.
Definition at line 106 of file LastXCombInfo.h.
References ThePEG::LastXCombInfo< XC >::lastXComb().
|
inline |
Return the pair of incoming parton instances.
Definition at line 116 of file LastXCombInfo.h.
References ThePEG::LastXCombInfo< XC >::lastXComb().
|
inline |
Return the last preweight factor.
Definition at line 224 of file LastXCombInfo.h.
References ThePEG::LastXCombInfo< XC >::lastXComb().
|
inline |
The last generated total energy squared of the incoming particles.
Definition at line 111 of file LastXCombInfo.h.
References ThePEG::LastXCombInfo< XC >::lastXComb().
|
inline |
The chosen scale of the hard scattering.
Definition at line 193 of file LastXCombInfo.h.
References ThePEG::LastXCombInfo< XC >::lastXComb().
|
inline |
The last used interval in total parton-parton energy squared.
Definition at line 121 of file LastXCombInfo.h.
References ThePEG::LastXCombInfo< XC >::lastXComb().
|
inline |
Return lastSHat()/lastS().
Definition at line 126 of file LastXCombInfo.h.
References ThePEG::LastXCombInfo< XC >::lastXComb().
|
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().
|
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().
|
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().
|
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().
|
inline |
The generated rapidity of the hard scattering sub-system.
Definition at line 131 of file LastXCombInfo.h.
References ThePEG::LastXCombInfo< XC >::lastXComb().
|
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().
|
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().
|
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().
|
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().
|
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().