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>
Public Member Functions | |
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 EventHandler & | eventHandler () 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 cPDPair & | particles () const |
The incoming particle types. | |
const cPDPair & | partons () 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. | |
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. | |
virtual void | debugme () const |
Print out debugging information for this object on std::cerr. | |
Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted | |
CounterType | referenceCount () const |
Return the reference count. | |
Manipulate and acces information about the last selected | |
phase space point. | |
typedef map< cPPtr, PBIPtr > | PartonBinInstanceMap |
A map of PartonBinInstance objects indexed by the extracted parton. | |
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 PPair & | lastParticles () const |
Return the pair of incoming particle instances. | |
const PPair & | lastPartons () 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. | |
PartonBinInstanceMap & | partonBinInstanceMap () |
Access the parton bin instance map (used by the parton extractor) | |
const PartonBinInstanceMap & | partonBinInstanceMap () const |
Return the parton bin instance map (used by the parton extractor) | |
const PBIPair & | partonBinInstances () const |
Additional information about the incoming partons. | |
PBIPair & | partonBinInstances () |
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. | |
double | lastP2 () const |
Log of one over the momentum fraction of the second incoming particle w.r.t. | |
void | lastP1P2 (pair< double, double > pp) |
Set log of one over the momentum fraction of the incoming particles 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. | |
void | lastL1L2 (pair< double, double >) |
Set log of one over the incoming parton momentum fractions 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. | |
void | lastX1X2 (pair< double, double >) |
Set the incoming parton momentum fractions 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. | |
void | lastE1E2 (pair< double, double >) |
Set one minus the incoming parton momentum fractions w.r.t. | |
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. | |
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. | |
void | lastAlphaEM (double a) |
Set the \(\alpha_{EM}\) used in the hard scattering. | |
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. | |
Functions used by the persistent I/O system. | |
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. | |
DPair | theLastX1X2 |
The incoming partons momentum fraction wrt. | |
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, AnyReference > | theMeta |
The meta information. | |
static ClassDescription< XComb > | initXComb |
Describe a concrete class with persistent data. | |
void | persistentOutput (PersistentOStream &os) const |
Function used to write out object persistently. | |
void | persistentInput (PersistentIStream &is, int version) |
Function used to read in object persistently. | |
static void | Init () |
Standard Init function used to initialize the interface. | |
XComb & | operator= (const XComb &)=delete |
Private and non-existent assignment operator. | |
Additional Inherited Members | |
Public Types inherited from ThePEG::Pointer::ReferenceCounted | |
typedef unsigned int | CounterType |
The integer type used for counting. | |
Static Public Member Functions inherited from ThePEG::Base | |
static void | Init () |
The standard Init function used to initialize the interfaces. | |
Public Attributes inherited from ThePEG::Pointer::ReferenceCounted | |
const unsigned long | uniqueId |
The unique ID. | |
Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted | |
ReferenceCounted () | |
Default constructor. | |
ReferenceCounted (const ReferenceCounted &) | |
Copy-constructor. | |
ReferenceCounted & | operator= (const ReferenceCounted &) |
Assignment. | |
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.
typedef map<cPPtr,PBIPtr> ThePEG::XComb::PartonBinInstanceMap |
A map of PartonBinInstance objects indexed by the extracted parton.
|
inline |
Return a possibly null pointer to a CascadeHandler to be used for CKKW-reweighting.
Definition at line 95 of file XComb.h.
References theCKKW.
|
virtual |
Reset all saved data about last generated phasespace point;.
Reimplemented in ThePEG::StandardXComb, and ThePEG::StdXCombGroup.
|
inline |
|
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 theEventHandler.
|
inline |
|
inline |
Return a reference to the corresponding collision handler.
Definition at line 74 of file XComb.h.
References theEventHandler.
|
inline |
Return a pointer to the corresponding collision handler.
Definition at line 79 of file XComb.h.
References theEventHandler.
|
inline |
|
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.
|
inline |
Set the \(\alpha_{EM}\) used in the hard scattering.
Definition at line 373 of file XComb.h.
References theLastAlphaEM.
|
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.
|
inline |
Set the \(\alpha_S\) used in the hard scattering.
Definition at line 362 of file XComb.h.
References theLastAlphaS.
|
inline |
Get the last chosen central scale of the hard scattering.
Definition at line 326 of file XComb.h.
References lastScale(), theLastCentralScale, and ThePEG::ZERO.
Referenced by lastShowerScale().
|
inline |
Set the last chosen central scale of the hard scattering.
Definition at line 336 of file XComb.h.
References theLastCentralScale.
|
inline |
Return 1-lastX1() to highest possible precision for x \(\rightarrow\) 1.
Definition at line 299 of file XComb.h.
References theLastE1E2.
void ThePEG::XComb::lastE1E2 | ( | pair< double, double > | ) |
Set one minus the incoming parton momentum fractions w.r.t.
the incoming particles.
|
inline |
Return 1-lastX2() to highest possible precision for x \(\rightarrow\) 1.
Definition at line 305 of file XComb.h.
References theLastE1E2.
|
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.
void ThePEG::XComb::lastL1L2 | ( | pair< double, double > | ) |
Set log of one over the incoming parton momentum fractions w.r.t.
the incoming particles.
|
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 theLastL1L2.
|
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.
|
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.
|
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.
|
inline |
Return the pair of incoming particle instances.
Definition at line 151 of file XComb.h.
References theLastParticles.
|
inline |
Set the pair of incoming particle instances.
Definition at line 421 of file XComb.h.
References theLastParticles.
|
inline |
Return the pair of incoming parton instances.
Definition at line 156 of file XComb.h.
References theLastPartons.
|
inline |
Set the pair of incoming parton instances.
Definition at line 161 of file XComb.h.
References theLastPartons.
|
inline |
|
inline |
|
inline |
Get the last chosen scale of the hard scattering.
Definition at line 316 of file XComb.h.
References theLastScale.
Referenced by lastCentralScale().
|
inline |
Set the last chosen scale of the hard scattering.
Definition at line 321 of file XComb.h.
References theLastScale.
|
inline |
The last generated total energy squared of the incoming prtons.
Definition at line 218 of file XComb.h.
References theLastSHat.
Referenced by lastTau().
|
inline |
Set the last generated total energy squared of the incoming prtons.
Definition at line 224 of file XComb.h.
References theLastSHat.
|
inline |
Get the last chosen shower scale.
Definition at line 341 of file XComb.h.
References lastCentralScale(), theLastShowerScale, and ThePEG::ZERO.
|
inline |
Set the last chosen showr scale.
Definition at line 351 of file XComb.h.
References theLastShowerScale.
|
inline |
|
inline |
The first incoming parton momentum fraction w.r.t.
the first incoming particle.
Definition at line 281 of file XComb.h.
References theLastX1X2.
void ThePEG::XComb::lastX1X2 | ( | pair< double, double > | ) |
Set the incoming parton momentum fractions w.r.t.
the incoming particles.
|
inline |
The second incoming parton momentum fraction w.r.t.
the second incoming particle.
Definition at line 287 of file XComb.h.
References theLastX1X2.
|
inline |
|
inline |
|
inline |
The maximum cm energy for this process.
Definition at line 118 of file XComb.h.
References theMaxEnergy.
|
inline |
|
inline |
|
inline |
|
inline |
Access the parton bin instance map (used by the parton extractor)
Definition at line 181 of file XComb.h.
References thePartonBinInstanceMap.
|
inline |
Return the parton bin instance map (used by the parton extractor)
Definition at line 186 of file XComb.h.
References thePartonBinInstanceMap.
|
inline |
Additional information about the incoming partons.
Definition at line 196 of file XComb.h.
References thePartonBinInstances.
|
inline |
Additional information about the incoming partons.
Definition at line 191 of file XComb.h.
References thePartonBinInstances.
|
inline |
Additional information about the incoming partons.
Definition at line 113 of file XComb.h.
References thePartonBins.
|
inline |
void ThePEG::XComb::persistentInput | ( | PersistentIStream & | is, |
int | version | ||
) |
Function used to read in object persistently.
is | the persistent input stream read from. |
version | the version number of the object when written. |
void ThePEG::XComb::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
|
inline |
A pointer to the parton extractor.
Definition at line 84 of file XComb.h.
References thePartonExtractor.
|
inline |
Set information about currently generated partons.
Definition at line 426 of file XComb.h.
References thePartonBinInstances.
|
inline |
Return the SubProcess object corresponding to the last generated sub-process.
Definition at line 167 of file XComb.h.
References theSub.
|
staticprivate |
|
private |
A pointer to a CascadeHandler to be used for CKKW-reweighting.
Definition at line 466 of file XComb.h.
Referenced by CKKWHandler().
|
private |
|
private |
The corresponding collision handler.
Definition at line 456 of file XComb.h.
Referenced by empty(), eventHandler(), and eventHandlerPtr().
|
private |
The \(\alpha_{EM}\) used in the hard scattering.
Definition at line 574 of file XComb.h.
Referenced by lastAlphaEM().
|
private |
The \(\alpha_S\) used in the hard scattering.
Definition at line 569 of file XComb.h.
Referenced by lastAlphaS().
|
private |
The last chosen central scale of the hard scattering.
Definition at line 559 of file XComb.h.
Referenced by lastCentralScale().
|
private |
|
private |
|
private |
Log of one over the momentum fraction of the incoming particles.
Definition at line 531 of file XComb.h.
Referenced by lastP1(), lastP1P2(), and lastP2().
|
private |
The pair of incoming particle instances.
Definition at line 506 of file XComb.h.
Referenced by lastParticles().
|
private |
The pair of incoming parton instances.
Definition at line 511 of file XComb.h.
Referenced by lastPartons().
|
private |
|
private |
The last chosen scale of the hard scattering.
Definition at line 554 of file XComb.h.
Referenced by lastScale().
|
private |
The last generated total energy squared of the incoming prtons.
Definition at line 521 of file XComb.h.
Referenced by lastSHat().
|
private |
The last chosen shower scale.
Definition at line 564 of file XComb.h.
Referenced by lastShowerScale().
|
private |
|
private |
|
private |
The maximum cm energy for this process.
Definition at line 579 of file XComb.h.
Referenced by maxEnergy().
|
private |
|
private |
The meta information.
Definition at line 597 of file XComb.h.
Referenced by eraseMeta(), hasMeta(), and meta().
|
private |
|
private |
|
private |
The parton bin instance map (used by the parton extractor)
Definition at line 486 of file XComb.h.
Referenced by partonBinInstanceMap().
|
private |
Additional information about the incoming partons.
Definition at line 501 of file XComb.h.
Referenced by partonBinInstances(), and resetPartonBinInstances().
|
private |
Additional information about the incoming partons.
Definition at line 491 of file XComb.h.
Referenced by partonBins().
|
private |
A pointer to the parton extractor.
Definition at line 461 of file XComb.h.
Referenced by pExtractor().
|
private |
|
private |
The SubProcess object corresponding to the last generated sub-process.
Definition at line 592 of file XComb.h.
Referenced by subProcess().