ThePEG::EventManipulator Class Reference

An object of the EventManipulator class may be assigned to a FullEventGenerator object. More...

#include <EventManipulator.h>

Inheritance diagram for ThePEG::EventManipulator:

ThePEG::Interfaced ThePEG::InterfacedBase ThePEG::Base ThePEG::Named ThePEG::Pointer::ReferenceCounted

List of all members.

Public Member Functions

virtual int manipulate (tEHPtr eh, tEventPtr event)=0
 Manipulate an event and the event handler.

Static Public Member Functions

static void Init ()
 Standard Init function used to initialize the interface.

Private Member Functions

EventManipulatoroperator= (const EventManipulator &)
 Private and non-existent assignment operator.

Static Private Attributes

static
AbstractNoPIOClassDescription
< EventManipulator
initEventManipulator
 Describe an abstract class without persistent data.


Detailed 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:
The interfaces defined for EventManipulator.

FullEventGenerator

AnalysisHandler

EventHandler

StepHandler

Definition at line 41 of file EventManipulator.h.


Member Function Documentation

virtual int ThePEG::EventManipulator::manipulate ( tEHPtr  eh,
tEventPtr  event 
) [pure virtual]

Manipulate an event and the event handler.

Parameters:
eh the EventHandler in charge of the generation.
event the Event to be manipulated.
Returns:
zero if the event was not manipulated. Otherwise return an integer which will be given to the AnalysisHandlers of the current FullEventGenerator.


The documentation for this class was generated from the following file:

Generated on Thu Apr 29 12:43:03 2010 for ThePEG by  doxygen 1.5.5