Collision()
Private default constructor must only be used by the PersistentIStream class via the ClassTraits
tStepPtr newStep(tcEventBasePtr newHandler=tcEventBasePtr())
Create a new step in this collision, which is a copy of the last step (if any) and return a pointer t...
ThePEG::Ptr< Step >::transient_const_pointer tcStepPtr
Alias for a transient pointer to a const Step .
bool isRemnant(tPPtr p) const
Return true if the given particle is a remnant of the colliding particles.
void removeParticle(tPPtr)
Remove (recursively) the given Particle from the Collision.
tcStepPtr finalStep() const
Return a const pointer to the last step in this Collission.
tcEventBasePtr theHandler
A pointer to the EventHandler which performed the generation of this Collision.
Collision & operator=(const Collision &)
The assignment operator is private and not implemented.
set< PPtr, less< PPtr > > ParticleSet
A set of pointers to Particle.
tStepPtr finalStep()
Return a pointer to the last step in this Collission.
void removeDecay(tPPtr)
Remove (recursively) the decay products from a given Particle and add the particle to the list of fin...
vector< SubProPtr > SubProcessVector
A vector of pointers to SubProcess.
void addStep(tStepPtr s)
Add a new Step to this Collision.
void addParticle(tPPtr p)
Add a particle to this Collision.
pair< PPtr, PPtr > PPair
A pair of pointers to Particle objects.
void popStep()
Remove the last Step in this Collision.
RCPtr is a reference counted (smart) pointer.
void removeEntry(tPPtr p)
Remove a given Particle entry.
~Collision()
The destructor.
This is the decalaration of the Collision class.
tEventPtr theEvent
A pointer to the Event to which this Collision belongs.
LorentzPoint theVertex
The vertex position of this Collision.
CollPtr clone() const
Clone this Collision.
void addParticles(Iterator first, Iterator last)
Add a range of particles to this Collision.
ThePEG::Ptr< Event >::transient_pointer tEventPtr
Alias for a transient pointer to Event .
static TPtr create()
Create a T object and return a smart pointer to it.
The default concrete implementation of ClassTraitsBase.
vector< T > & operator<<(vector< T > &tv, const U &u)
Overload the left shift operator for vector to push_back objects to a vector.
const ParticleSet & all() const
Return a reference to the list of all particles in this Collision.
static string className()
Return the name of class T.
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
tcStepPtr step(unsigned int i) const
Return a pointer to a given Step in this Collision.
vector< tPPtr > tPVector
A vector of transient pointers to Particle objects.
This file contains declarations of standard selector classes.
tSubProPtr primarySubProcess() const
Return a pointer to the primary SubProcess in this Collision.
ThePEG::Ptr< T >::pointer TPtr
Alias for a reference counted pointer to T .
BaseClassTraits describes the base classes of the templated class.
tEventPtr event() const
Return a pointer to the Event to which this Collision belongs.
void selectFinalState(OutputIterator r) const
Extract all final state particles in this Collision.
ParticleSelector< FinalStateSelector > SelectFinalState
Typedef to declare a selector used to extract all final state particles from an event.
tPVector getFinalState() const
Extract all final state particles in this Collision.
ThePEG::Ptr< Step >::pointer StepPtr
Alias for a reference counted pointer to Step .
const StepVector & steps() const
Return the vector of steps in this Collision.
Collision(const PPair &newIncoming, tEventPtr newEvent=tEventPtr(), tcEventBasePtr newHandler=tcEventBasePtr())
The standard constructor takes a pair of incoming particles as argument.
void rebind(const EventTranslationMap &trans)
Rebind to cloned objects.
static RCPtr Create()
Allocate and construct an object of class T and return a RCPtr to it.
The Step class contains information of all particles present after certain step in the event generati...
void cleanSteps()
Remove all steps which have no new particles introduced in them.