#include <SubProcess.h>
Public Member Functions | |
SubProcess (const PPair &newIncoming, tCollPtr newCollision=tCollPtr(), tcEventBasePtr newHandler=tcEventBasePtr()) | |
Standard constructor. | |
virtual | ~SubProcess () |
Destructor. | |
tcEventBasePtr | handler () const |
A pointer to the MEBase object which generated this SubProcess. | |
tCollPtr | collision () const |
A pointer to the collision to which this sub-process belongs. | |
const PPair & | incoming () const |
The pair of incoming partons. | |
const ParticleVector & | intermediates () const |
A reference to the vector of intermediate partons. | |
const ParticleVector & | outgoing () const |
A reference to the vector of outgoing particles. | |
template<class InputIterator> | |
void | setOutgoing (InputIterator, InputIterator) |
Set the vector of outgoing particles. | |
void | addOutgoing (tPPtr p, bool fixrelations=true) |
Add a particle to the list of outgoing ones. | |
void | changeIncoming (tPPtr pnew, tPPtr pold) |
Change the incoming parton. | |
template<class InputIterator> | |
void | setIntermediates (InputIterator, InputIterator) |
Set the vector of intermediate particles. | |
void | addIntermediate (tPPtr p, bool fixrelations=true) |
Add a particle to the list of intermediate ones. | |
void | removeEntry (tPPtr p) |
Remove a particle entry from this sub-process. | |
SubProPtr | clone () const |
Return a clone of this sub process. | |
bool | decayed () const |
True if a perturbative cascade has been applied to this sub process. | |
void | decayed (bool x) |
Set to true if a perturbative cascade has been applied to this sub process. | |
void | transform (const LorentzRotation &) |
Perform a LorentzTransformation of all particles in the sub process. | |
Energy2 | shat () const |
Return the value of the Mandelstam variable in this SubProcess. | |
Energy2 | that () const |
Return the value of the Mandelstam variable in this SubProcess. | |
Energy2 | uhat () const |
Return the value of the Mandelstam variable in this SubProcess. | |
void | persistentOutput (PersistentOStream &) const |
Standard function for writing to a persistent stream. | |
void | persistentInput (PersistentIStream &, int) |
Standard function for reading from a persistent stream. | |
virtual void | debugme () const |
Print out debugging information for this object on std::cerr. | |
Static Public Member Functions | |
static void | Init () |
Standard Init function. | |
Protected Member Functions | |
void | rebind (const EventTranslationMap &trans) |
Rebind to cloned objects. | |
Private Member Functions | |
SubProcess () | |
Private default constructor must only be used by the PersistentIStream class via the ClassTraits<SubProcess> class . | |
SubProcess & | operator= (const SubProcess &) |
Assignment is forbidden. | |
Private Attributes | |
tcEventBasePtr | theHandler |
A pointer to the MEBase object which generated this sub-process. | |
tCollPtr | theCollision |
A pointer to the collision to which this sub-process belongs. | |
PPair | theIncoming |
The pair of incoming particles. | |
ParticleVector | theIntermediates |
The vector of intermediate particles,. | |
ParticleVector | theOutgoing |
The vector of outgoing particles. | |
bool | isDecayed |
True if a perturbative cascade has been applied to this sub process. | |
Static Private Attributes | |
static ClassDescription < SubProcess > | initSubProcess |
Describe concrete class with persistent data. | |
Friends | |
class | Step |
Most of the Event classes are friends with each other. | |
class | Collision |
Most of the Event classes are friends with each other. | |
class | ClassTraits< SubProcess > |
The ClassTraits<SubProcess> class must be a friend to be able to use the private default constructor. |
It carries information about the incoming and outgoing particles, as well as possible intermediate ones. It also has a pointer to the MEBase object which generated the sub-process.
Definition at line 29 of file SubProcess.h.
ThePEG::SubProcess::SubProcess | ( | const PPair & | newIncoming, | |
tCollPtr | newCollision = tCollPtr() , |
|||
tcEventBasePtr | newHandler = tcEventBasePtr() | |||
) |
Standard constructor.
newIncoming | the two incoming partons. | |
newCollision | the Collision to which this SubProcess belongs. | |
newHandler | the MEBase object which generated this SubProcess. |
void ThePEG::SubProcess::addOutgoing | ( | tPPtr | p, | |
bool | fixrelations = true | |||
) |
Add a particle to the list of outgoing ones.
If fixrelations is true the mother daughter pointers will be set to/from the incoming partons.
void ThePEG::SubProcess::addIntermediate | ( | tPPtr | p, | |
bool | fixrelations = true | |||
) |
Add a particle to the list of intermediate ones.
If fixrelations is true the mother daughter pointers will be set to/from the incoming partons.
void ThePEG::SubProcess::rebind | ( | const EventTranslationMap & | trans | ) | [protected] |
Rebind to cloned objects.
When a SubProcess is cloned, a shallow copy is done first, then all Particle
s etc, are cloned, and finally this method is used to see to that the pointers in the cloned SubProcess points to the cloned Particle
s etc.
Energy2 ThePEG::SubProcess::shat | ( | ) | const [inline] |
Return the value of the Mandelstam variable in this SubProcess.
It is calculated using the incoming particles.
Definition at line 158 of file SubProcess.h.
References incoming().
Energy2 ThePEG::SubProcess::that | ( | ) | const [inline] |
Return the value of the Mandelstam variable in this SubProcess.
It is calculated using the first incoming and first outgoing particle.
Definition at line 167 of file SubProcess.h.
References incoming(), and outgoing().
Energy2 ThePEG::SubProcess::uhat | ( | ) | const [inline] |
Return the value of the Mandelstam variable in this SubProcess.
It is calculated using the first incoming and last outgoing particle.
Definition at line 176 of file SubProcess.h.
References incoming(), and outgoing().
static void ThePEG::SubProcess::Init | ( | ) | [static] |
virtual void ThePEG::SubProcess::debugme | ( | ) | const [virtual] |
Print out debugging information for this object on std::cerr.
To be called from within a debugger via the debug() function.
Reimplemented from ThePEG::Base.
friend class Step [friend] |
friend class Collision [friend] |