9 #ifndef ThePEG_StepHandler_H
10 #define ThePEG_StepHandler_H
13 #include "ThePEG/Config/ThePEG.h"
14 #include "ThePEG/Utilities/Exception.fh"
15 #include "ThePEG/Handlers/HandlerBase.h"
72 const Hint & hint) = 0;
172 struct ClassTraits<StepHandler>:
public ClassTraitsBase<StepHandler> {
174 static string className() {
return "ThePEG::StepHandler"; }
tStepPtr newStep()
Return a pointer to a new step.
The EventHandler is the base class used to implement event handlers in ThePEG.
ClassTraitsType is an empty, non-polymorphic, base class.
static void Init()
Standard Init function used to initialize the interface.
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr a...
virtual ~StepHandler()
The destructor.
This is the main namespace within which all identifiers in ThePEG are declared.
StepHandler is the base class for implementing any model for a step in the event generation chain...
tStepPtr currentStep()
If a new step has been created, return it, otherwise return the current step from the eventHandler()...
A concreate implementation of ClassDescriptionBase describing an abstract class without persistent da...
Hint is a base class to be used to pass information between StepHandler s, which cannot be convayed t...
StepHandler & operator=(const StepHandler &)
Private and non-existent assignment operator.
tStepPtr theCurrentStep
A pointer to the current step.
static AbstractNoPIOClassDescription< StepHandler > initStepHandler
Describe an abstract class without persistent data.
tStepPtr theNewStep
A pointer to a new step if created in the last call to handle().
HandlerBase is an abstract base class derived from the Interfaced class via the HandlerBaseT class ad...
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).
tEHPtr theEventHandler
A pointer to the (partial) collision handler which made the current call to handle().
vector< tPPtr > tPVector
A vector of transient pointers to Particle objects.
BaseClassTraits describes the base classes of the templated class.
virtual void handle(EventHandler &eh, const tPVector &tagged, const Hint &hint)=0
The main function called by the EventHandler class to perform a step.
void createNewStep()
Use the collision handler to create a new step.
tEHPtr eventHandler() const
Get a pointer to the EventHandler which made the last call to handle().