File: EventManipulator.h
Description:
An object of the EventManipulator class may be assigned
to a FullEventGenerator object. The
manipulate method is called for each event generated,
after the AnalysisHandlers have been called, and
may manipulate the event in any way needed. The manipulator may
alseo add StepHandlers to the
EventHandler which produced the event. The
manipulate method returns an integer which should be
zero if nothing was done to the event. If the
EventHandler has steps left to do, these are
performed, after which the AnalysisHandlers are
called with the return value from the previous
manipulate call. Then manipulate is
called again and the procedure is repeated until the
EventHandler has no more steps to do.
See
also:
namespace Pythia7
CLASS
EventManipulator:
Base class:
Public members:
inline EventManipulator();
inline EventManipulator(const EventManipulator &);
virtual ~EventManipulator();
Standard ctors and dtor
virtual int manipulate(tEHPtr, tEventPtr) = 0;
Manipulate an event and the event handler. Return zero if the
event was not manipulated.
static void Init();
Standard Init function used to initialize the interface.
Protected members:
inline virtual void doupdate() throw(UpdateException);
inline virtual void doinit() throw(InitException);
inline virtual void dofinish();
Standard Interfaced virtual functions.
inline virtual void rebind(const TranslationMap & trans)
throw(RebindException);
Change all pointers to Interfaced objects to corresponding clones.
inline virtual IVector getReferences();
Return pointers to all Interfaced objects refered to by this.
Private members:
static AbstractNoPIOClassDescription<EventManipulator> initEventManipulator;
EventManipulator & operator=(const EventManipulator &);
Private and non-existent assignment operator.
template <>
STRUCT
BaseClassTrait<EventManipulator,1>
Public members:
typedef Interfaced NthBase;
template <>
STRUCT
ClassTraits<EventManipulator>:
Public members:
static string className() { return "/Pythia7/EventManipulator"; }
DEFINED MACROS
PYTHIA7_EventManipulator_H
INCLUDED FILES
Pythia7/Interface/Interfaced.h
stdexcept
EventManipulator.icc