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 | |
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. | |
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. More... | |
Functions used by the persistent I/O system. | |
void | persistentOutput (PersistentOStream &os) const |
Function used to write out object persistently. More... | |
void | persistentInput (PersistentIStream &is, int version) |
Function used to read in object persistently. More... | |
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. More... | |
virtual void | debugme () const |
Print out debugging information for this object on std::cerr. More... | |
Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted | |
CounterType | referenceCount () const |
Return the reference count. | |
Static Public Member Functions | |
static void | Init () |
Standard Init function used to initialize the interface. | |
Static Public Member Functions inherited from ThePEG::Base | |
static void | Init () |
The standard Init function used to initialize the interfaces. More... | |
Private Member Functions | |
XComb & | operator= (const XComb &)=delete |
Private and non-existent assignment operator. | |
Private Attributes | |
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. More... | |
DPair | theLastX1X2 |
The incoming partons momentum fraction wrt. More... | |
DPair | theLastE1E2 |
1-lastX1() and 1-lastX2() to highest possible precision for x 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 used in the hard scattering. | |
double | theLastAlphaEM |
The 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 Private Attributes | |
static ClassDescription< XComb > | initXComb |
Describe a concrete class with persistent data. | |
Manipulate and acces information about the last selected | |
typedef map< cPPtr, PBIPtr > | PartonBinInstanceMap |
A map of PartonBinInstance objects indexed by the extracted parton. More... | |
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. More... | |
double | lastP2 () const |
Log of one over the momentum fraction of the second incoming particle w.r.t. More... | |
void | lastP1P2 (pair< double, double > pp) |
Set log of one over the momentum fraction of the incoming particles 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... | |
void | lastL1L2 (pair< double, double >) |
Set log of one over the incoming parton momentum fractions 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... | |
void | lastX1X2 (pair< double, double >) |
Set the incoming parton momentum fractions w.r.t. More... | |
double | lastE1 () const |
Return 1-lastX1() to highest possible precision for x 1. | |
double | lastE2 () const |
Return 1-lastX2() to highest possible precision for x 1. | |
void | lastE1E2 (pair< double, double >) |
Set one minus the incoming parton momentum fractions w.r.t. More... | |
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 used in the hard scattering. More... | |
void | lastAlphaS (double a) |
Set the used in the hard scattering. | |
double | lastAlphaEM () const |
Get the used in the hard scattering. More... | |
void | lastAlphaEM (double a) |
Set the used in the hard scattering. | |
Additional Inherited Members | |
Public Types inherited from ThePEG::Pointer::ReferenceCounted | |
typedef unsigned int | CounterType |
The integer type used for counting. | |
Public Attributes inherited from ThePEG::Pointer::ReferenceCounted | |
const unsigned long | uniqueId |
The unique ID. More... | |
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 |
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 clean(), prepare(), setPartonBinInstances(), and theEventHandler.
|
inline |
Get the used in the hard scattering.
Is negative if no value has been set.
Definition at line 368 of file XComb.h.
References theLastAlphaEM.
|
inline |
Get the used in the hard scattering.
Is negative if no value has been set.
Definition at line 357 of file XComb.h.
References theLastAlphaS.
void ThePEG::XComb::lastE1E2 | ( | pair< double, double > | ) |
Set one minus the incoming parton momentum fractions w.r.t.
the incoming particles.
Referenced by lastE2().
|
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.
Referenced by lastL2().
|
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 lastL1L2(), and 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 |
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 > | ) |
|
inline |
The second incoming parton momentum fraction w.r.t.
the second incoming particle.
Definition at line 287 of file XComb.h.
References lastX1X2(), and theLastX1X2.
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. |
Referenced by resetPartonBinInstances().
void ThePEG::XComb::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
Referenced by resetPartonBinInstances().
|
private |
|
private |