#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. | |
~XComb () | |
Destructor. | |
Access the assigned objects used in the generation. | |
const EventHandler & | eventHandler () const |
Return a reference 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. | |
Manipulate and acces information about the last selected | |
phase space point. | |
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. | |
const PBIPair & | partonBinInstances () const |
Additional information about the incoming partons. | |
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 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. | |
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. | |
double | lastAlphaS () const |
Get the used in the hard scattering. | |
void | lastAlphaS (double a) |
Set the used in the hard scattering. | |
double | lastAlphaEM () const |
Get the used in the hard scattering. | |
void | lastAlphaEM (double a) |
Set the used in the hard scattering. | |
Functions used by the persistent I/O system. | |
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 Public Member Functions | |
static void | Init () |
Standard Init function used to initialize the interface. | |
Protected Member Functions | |
void | setPartonBinInfo () |
Set the local parton bin info objects for this XComb. | |
void | createPartonBinInstances () |
Create PartonBinInstance objects for this XComb. | |
Private Member Functions | |
XComb & | operator= (const XComb &) |
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. | |
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 1. | |
Energy2 | theLastScale |
The last chosen scale of the hard scattering. | |
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. | |
Static Private Attributes | |
static ClassDescription< XComb > | initXComb |
Describe a concrete class with persistent data. |
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.
Definition at line 42 of file XComb.h.
bool ThePEG::XComb::empty | ( | ) | const [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 120 of file XComb.h.
References theEventHandler.
double ThePEG::XComb::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 215 of file XComb.h.
References theLastP1P2.
double ThePEG::XComb::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 221 of file XComb.h.
References theLastP1P2.
void ThePEG::XComb::lastP1P2 | ( | pair< double, double > | pp | ) | [inline] |
Set log of one over the momentum fraction of the incoming particles w.r.t.
the maximum allowed energy.
Definition at line 227 of file XComb.h.
References theLastP1P2.
double ThePEG::XComb::lastL1 | ( | ) | const [inline] |
Log of one over the first incoming parton momentum fraction w.r.t.
the first incoming particle.
Definition at line 233 of file XComb.h.
References theLastL1L2.
double ThePEG::XComb::lastL2 | ( | ) | const [inline] |
Log of one over the second incoming parton momentum fraction w.r.t.
the second incoming particle.
Definition at line 239 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.
double ThePEG::XComb::lastX1 | ( | ) | const [inline] |
The first incoming parton momentum fraction w.r.t.
the first incoming particle.
Definition at line 251 of file XComb.h.
References theLastX1X2.
double ThePEG::XComb::lastX2 | ( | ) | const [inline] |
The second incoming parton momentum fraction w.r.t.
the second incoming particle.
Definition at line 257 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.
void ThePEG::XComb::lastE1E2 | ( | pair< double, double > | ) |
Set one minus the incoming parton momentum fractions w.r.t.
the incoming particles.
double ThePEG::XComb::lastAlphaS | ( | ) | const [inline] |
Get the used in the hard scattering.
Is negative if no value has been set.
Definition at line 297 of file XComb.h.
References theLastAlphaS.
double ThePEG::XComb::lastAlphaEM | ( | ) | const [inline] |
Get the used in the hard scattering.
Is negative if no value has been set.
Definition at line 308 of file XComb.h.
References theLastAlphaEM.
void ThePEG::XComb::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
Reimplemented in ThePEG::StandardXComb.
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. |
Reimplemented in ThePEG::StandardXComb.
DPair ThePEG::XComb::theLastL1L2 [private] |
DPair ThePEG::XComb::theLastX1X2 [private] |