The Gaudi Framework  master (d98a2936)
IEventProcessor.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2025 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 #pragma once
12 
14 #include <GaudiKernel/IInterface.h>
15 
22 class GAUDI_API IEventProcessor : virtual public IInterface {
23 public:
26 
31  virtual StatusCode executeRun( int maxevt ) = 0;
33  virtual StatusCode nextEvent( int maxevt ) = 0;
35  virtual StatusCode stopRun() = 0;
36 };
IEventProcessor
Definition: IEventProcessor.h:22
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:64
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:225
EventContext
Definition: EventContext.h:34
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:49