7#ifndef ATHENASERVICES_MPIHIVEEVENTLOOPMGR_H
8#define ATHENASERVICES_MPIHIVEEVENTLOOPMGR_H
22#include "Gaudi/Property.h"
44 StatusCode
insertEvent(
int eventIdx,
bool& endOfStream,
45 std::int64_t requestTime_ns);
67 virtual StatusCode
finalize()
override;
69 virtual StatusCode
nextEvent(
int maxevt)
override;
74 this,
"FirstEventIndex", 0,
"First event index (Exec.SkipEvents)"};
The default ATLAS batch event loop manager.
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
virtual const std::string & name() const override
AthenaHiveEventLoopMgr(const std::string &nam, ISvcLocator *svcLoc)
Standard Constructor.
StatusCode workerEventLoop()
Worker event loop (runs on worker, requests events over MPI)
StatusCode drainLocalScheduler()
Drain the local scheduler of any (at least one) completed events.
int m_contiguousFailedEvts
ServiceHandle< IMPIClusterSvc > m_clusterSvc
Reference to the MPIClusterSvc.
MPIHiveEventLoopMgr(const std::string &name, ISvcLocator *svcLoc)
Standard Constructor.
virtual StatusCode finalize() override
implementation of IAppMgrUI::finalize
virtual ~MPIHiveEventLoopMgr()
Standard Destructor.
StoreGateSvc * eventStore() const
virtual StatusCode nextEvent(int maxevt) override
implementation of IAppMgrUI::nextEvent. maxevt==0 returns immediately
StatusCode masterEventLoop(int maxEvt)
Master event loop (runs on master, provides events over MPI)
virtual StatusCode initialize() override
implementation of IAppMgrUI::initalize
StatusCode insertEvent(int eventIdx, bool &endOfStream, std::int64_t requestTime_ns)
Insert an event into the local scheduler.
UnsignedIntegerProperty m_firstEventIndex
int m_evtSelectorCurrentPos
The Athena Transient Store API.