The Gaudi Framework  master (37c0b60a)
IEventProcessor.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #ifndef GAUDIKERNEL_IEVENTPROCESSOR_H
12 #define GAUDIKERNEL_IEVENTPROCESSOR_H 1
13 
14 // Include files
16 #include <GaudiKernel/IInterface.h>
17 
24 class GAUDI_API IEventProcessor : virtual public IInterface {
25 public:
28 
33  virtual StatusCode executeRun( int maxevt ) = 0;
35  virtual StatusCode nextEvent( int maxevt ) = 0;
37  virtual StatusCode stopRun() = 0;
38 };
39 
40 #endif // GAUDIKERNEL_IEVENTPROCESSOR_H
IEventProcessor
Definition: IEventProcessor.h:24
IEventProcessor::executeEvent
virtual StatusCode executeEvent(EventContext &&ctx)=0
Process single event.
IEventProcessor::executeRun
virtual StatusCode executeRun(int maxevt)=0
Process the maxevt events as a Run.
GaudiPython.Pythonizations.ctx
ctx
Definition: Pythonizations.py:578
StatusCode
Definition: StatusCode.h:65
IInterface.h
IEventProcessor::nextEvent
virtual StatusCode nextEvent(int maxevt)=0
Process the next maxevt events.
IEventProcessor::DeclareInterfaceID
DeclareInterfaceID(IEventProcessor, 4, 0)
InterfaceID.
IEventProcessor::stopRun
virtual StatusCode stopRun()=0
Schedule a stop of the current event processing.
IEventProcessor::createEventContext
virtual EventContext createEventContext()=0
EventContext.h
IInterface
Definition: IInterface.h:239
EventContext
Definition: EventContext.h:34
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:81