|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef ATHENASERVICES_ATHENAEVENTLOOPMGR_H
8 #define ATHENASERVICES_ATHENAEVENTLOOPMGR_H
20 #include "GaudiKernel/IIncidentListener.h"
22 #include "GaudiKernel/MinimalEventLoopMgr.h"
29 #ifndef EVENTINFO_EVENTID_H
36 #include "GaudiKernel/IEvtSelector.h"
37 #include "Gaudi/Property.h"
38 #include "GaudiKernel/ServiceHandle.h"
39 #include "GaudiKernel/ToolHandle.h"
40 #include "GaudiKernel/IChronoStatSvc.h"
41 #include "GaudiKernel/IAlgExecStateSvc.h"
45 struct IDataManagerSvc;
63 IEventSeek, ICollectionSize, IIncidentListener>,
180 void handle(
const Incident& inc);
222 #endif // STOREGATE_ATHENAEVENTLOOPMGR_H
AthenaEventLoopMgr(const AthenaEventLoopMgr &)
no implementation
virtual int curEvent() const
Return the current event count.
virtual int size()
Return the size of the collection.
IEvtIdModifierSvc_t m_evtIdModSvc
tool_stats m_toolAccept
tool returns StatusCode::SUCCESS counter
ServiceHandle< IIncidentSvc > IIncidentSvc_t
tool_store m_tools
internal tool store
The default ATLAS batch event loop manager.
IAthenaEvtLoopPreSelectTool tool_type
Interface for doing garbage collection of conditions objects.
IEvtSelector::Context * m_evtSelCtxt
Gaudi EventSelector Context (may be used as a cursor by the evt selector)
Abstract interface for seeking within an event stream.
EventID::number_type number_type
StoreGateSvc * eventStore() const
virtual const std::string & name() const
ServiceHandle< IEvtIdModifierSvc > IEvtIdModifierSvc_t
virtual StatusCode initialize()
implementation of IAppMgrUI::initalize
ServiceHandle< Athena::IConditionsCleanerSvc > m_conditionsCleaner
StringProperty m_histPersName
ServiceHandle< IDataManagerSvc > IDataManagerSvc_t
ClearStorePolicy::Type clearStorePolicy(const std::string &policyName, MsgStream &msg)
returns the enum-version of the policy (by name)
virtual StatusCode executeRun(int maxevt)
implementation of IEventProcessor::executeRun(int maxevt)
Abstract interface for finding the size of an event collection.
IEvtSelector * m_evtSelector
Reference to the Event Selector.
IntegerProperty m_failureMode
ServiceHandle< StoreGateSvc > StoreGateSvc_t
IIncidentSvc_t m_incidentSvc
Reference to the incident service.
StoreGateSvc_t m_eventStore
Reference to StoreGateSvc;.
IntegerProperty m_writeInterval
number_type m_currentRun
current run number
unsigned int m_nev
events processed
virtual ~AthenaEventLoopMgr()
Standard Destructor.
virtual void modifyEventContext(EventContext &ctx, const EventID &eID, bool consume_modifier_stream)
StatusCode installEventContext(EventContext &ctx)
virtual StatusCode nextEvent(int maxevt)
implementation of IAppMgrUI::nextEvent. maxevt==0 returns immediately
The Athena Transient Store API.
StatusCode initializeAlgorithms()
Initialize all algorithms and output streams.
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
ServiceHandle< IConversionSvc > IConversionSvc_t
bool msgLvl(const MSG::Level lvl) const
Test the output level.
StatusCode execAtPreFork(const EventContext &ctx) const
Execute certain algorithms/sequences in PreFork.
void handle(const Incident &inc)
IIncidentListenet interfaces.
EventIDBase::number_type number_type
bool m_requireInputAttributeList
require input attribute list
Class to modify timeout flag.
IConversionSvc_t m_histoPersSvc
::StatusCode StatusCode
StatusCode definition for legacy code.
SmartIF< IAlgExecStateSvc > m_aess
Reference to the Algorithm Execution State Svc.
ATLAS_NO_CHECK_FILE_THREAD_SAFETY
IEvtSelector::Context EvtContext
virtual StatusCode seek(int evt)
Seek to a given event.
StringArrayProperty m_execAtPreFork
Class to provide easy MsgStream access and capabilities.
virtual StatusCode finalize()
implementation of IAppMgrUI::finalize
UnsignedIntegerProperty m_eventPrintoutInterval
std::vector< unsigned int > tool_stats
virtual StatusCode executeEvent(EventContext &&ctx)
implementation of IEventProcessor::executeEvent(EventContext&& ctx)
MsgStream & msg() const
The standard message stream.
tool_stats m_toolInvoke
tool called counter
tool_stats m_toolReject
tool returns StatusCode::FAILURE counter
void setupPreSelectTools(Gaudi::Details::PropertyBase &)
property update handler:sets up the Pre-selection tools
StringProperty m_clearStorePolicy
ServiceHandle< IChronoStatSvc > m_chronoStatSvc
bool m_useSecondaryEventNumber
read event number from secondary input
void setClearStorePolicy(Gaudi::Details::PropertyBase &clearStorePolicy)
property update handler:set the clear-store policy value and check its value.
unsigned int m_intervalInSeconds
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
virtual StatusCode writeHistograms(bool force=false)
Dump out histograms as needed.
tool_store::const_iterator tool_iterator
AthenaEventLoopMgr()
no implementation
tool_stats::const_iterator tool_stats_iterator
Extension to IEvtSelector to allow for seeking.
Define macros for attributes used to control the static checker.
virtual StatusCode executeAlgorithms(const EventContext &)
Run the algorithms for the current event.
IDataManagerSvc_t m_histoDataMgrSvc
Reference to the Histogram Data Service.
AthenaEventLoopMgr & operator=(const AthenaEventLoopMgr &)
no implementation
ToolHandleArray< tool_type > tool_store