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 >:

ThePEG::CascadeHandler ThePEG::EventHandler ThePEG::LesHouchesReader ThePEG::LuminosityFunction ThePEG::MEBase ThePEG::PartonExtractor ThePEG::ReweightBase ThePEG::LesHouchesEventHandler ThePEG::StandardEventHandler ThePEG::LesHouchesFileReader ThePEG::FixedCMSLuminosity ThePEG::ME2to2Base ThePEG::ReweightConstant ThePEG::ReweightMinPT ThePEG::MadGraphReader ThePEG::ME2to2QCD ThePEG::MEee2gZ2qq ThePEG::MEGG2GG ThePEG::MEGG2QQ ThePEG::MENCDIS ThePEG::MEQG2QG ThePEG::MEQQ2GG ThePEG::MEQQ2qq ThePEG::MEQQ2QQ ThePEG::MEqq2qq ThePEG::MEQq2Qq

List of all members.

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

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.

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.

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.

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.


Member Function Documentation

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 71 of file LastXCombInfo.h.

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 121 of file LastXCombInfo.h.

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 127 of file LastXCombInfo.h.

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 133 of file LastXCombInfo.h.

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 139 of file LastXCombInfo.h.

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 145 of file LastXCombInfo.h.

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 151 of file LastXCombInfo.h.

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 183 of file LastXCombInfo.h.

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 189 of file LastXCombInfo.h.


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

Generated on Thu Apr 29 12:43:04 2010 for ThePEG by  doxygen 1.5.5