|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef ATHENASERVICES_ATHENAMTESEVENTLOOPMGR_H
8 #define ATHENASERVICES_ATHENAMTESEVENTLOOPMGR_H
10 #include "GaudiKernel/IEvtSelector.h"
11 #include "Gaudi/Property.h"
12 #include "GaudiKernel/ServiceHandle.h"
13 #include "GaudiKernel/ToolHandle.h"
14 #include "GaudiKernel/MinimalEventLoopMgr.h"
15 #include "GaudiKernel/IIncidentListener.h"
16 #include "GaudiKernel/IAlgResourcePool.h"
17 #include "GaudiKernel/IHiveWhiteBoard.h"
18 #include "GaudiKernel/IScheduler.h"
19 #include "GaudiKernel/IAlgExecStateSvc.h"
32 #ifndef EVENTINFO_EVENTID_H
38 struct IDataManagerSvc;
39 class IDataProviderSvc;
54 IHybridProcessorHelper>,
208 virtual int curEvent()
const override;
210 virtual int size()
override;
212 virtual void handle(
const Incident& inc)
override;
249 typedef std::list<SmartIF<IAlgorithm> >
ListAlg;
281 std::unique_ptr<RangeStruct>
getNextRange(yampl::ISocket* socket);
287 ,
"EventRangeChannel"
288 ,
"EventService_EventRanges"
289 ,
"The name of the Yampl channel between AthenaMT and the Pilot"
300 #endif // ATHENASERVICES_ATHENAHIVEEVENTLOOPMGR_H
bool m_requireInputAttributeList
require input attribute list
ToolHandleArray< tool_type > tool_store
UnsignedIntegerProperty m_writeInterval
IAthenaEvtLoopPreSelectTool tool_type
tool_store m_tools
internal tool store
EventID::number_type number_type
virtual StatusCode executeRun(int maxevt) override
implementation of IEventProcessor::executeRun(int maxevt)
EvtContext * m_evtContext
Gaudi event selector Context (may be used as a cursor by the evt selector)
Interface for doing garbage collection of conditions objects.
std::unique_ptr< RangeStruct > getNextRange(yampl::ISocket *socket)
Abstract interface for seeking within an event stream.
virtual EventContext createEventContext() override
implementation of IEventProcessor::createEventContext()
SmartIF< IHiveWhiteBoard > m_whiteboard
Reference to the Whiteboard interface.
ServiceHandle< IConversionSvc > IConversionSvc_t
IntegerProperty m_failureMode
tool_stats m_toolAccept
tool returns StatusCode::SUCCESS counter
IIncidentSvc_t m_incidentSvc
Reference to the incident service.
std::string m_whiteboardName
Name of the Whiteboard to be used.
ClearStorePolicy::Type clearStorePolicy(const std::string &policyName, MsgStream &msg)
returns the enum-version of the policy (by name)
virtual StatusCode finalize() override
implementation of IAppMgrUI::finalize
Gaudi::Property< std::string > m_eventRangeChannel
Abstract interface for finding the size of an event collection.
virtual StatusCode stop() override
implementation of IService::stop
virtual int drainScheduler(int &finishedEvents, bool report) override
Drain the scheduler from all actions that may be queued.
ServiceHandle< OutputStreamSequencerSvc > m_outSeqSvc
ServiceHandle< IEvtIdModifierSvc > IEvtIdModifierSvc_t
SmartIF< IProperty > m_appMgrProperty
Property interface of ApplicationMgr.
virtual int curEvent() const override
Return the current event count.
SmartIF< IAlgExecStateSvc > m_aess
Reference to the Algorithm Execution State Svc.
ServiceHandle< IIncidentSvc > IIncidentSvc_t
ServiceHandle< StoreGateSvc > StoreGateSvc_t
virtual StatusCode nextEvent(int maxevt) override
implementation of IAppMgrUI::nextEvent. maxevt==0 returns immediately
AthenaMtesEventLoopMgr(const AthenaMtesEventLoopMgr &)=delete
The Athena Transient Store API.
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
IEvtSelector::Context EvtContext
virtual StatusCode seek(int evt) override
Seek to a given event.
EventIDBase::number_type number_type
Class to modify timeout flag.
virtual StatusCode initialize() override
implementation of IAppMgrUI::initalize
virtual int size() override
Return the size of the collection.
StringArrayProperty m_testPilotMessages
::StatusCode StatusCode
StatusCode definition for legacy code.
std::vector< unsigned int > tool_stats
EventContext m_lastEventContext
tool_stats m_toolReject
tool returns StatusCode::FAILURE counter
std::list< SmartIF< IAlgorithm > > ListAlg
IEvtSelector * m_evtSelector
Reference to the Event Selector.
void setClearStorePolicy(Gaudi::Details::PropertyBase &clearStorePolicy)
property update handler:set the clear-store policy value and check its value.
virtual StatusCode writeHistograms(bool force=false)
Dump out histograms as needed.
StatusCode initializeAlgorithms()
Initialize all algorithms and output streams.
AthenaMtesEventLoopMgr & operator=(const AthenaMtesEventLoopMgr &)=delete
StoreGateSvc * eventStore() const
StoreGateSvc_t m_eventStore
Reference to StoreGateSvc;.
virtual const std::string & name() const override
virtual void resetAppReturnCode() override
Reset the application return code.
ServiceHandle< IDataManagerSvc > IDataManagerSvc_t
This class provides configuration properties to enable OutputStream file sequences.
virtual StatusCode executeEvent(EventContext &&ctx) override
implementation of IEventProcessor::executeEvent(void* par)
void trimRangeStrings(std::string &str)
tool_stats::const_iterator tool_stats_iterator
virtual ~AthenaMtesEventLoopMgr()
Standard Destructor.
StatusCode getEventRoot(IOpaqueAddress *&refpAddr)
Create event address using event selector.
IEvtIdModifierSvc_t m_evtIdModSvc
bool m_useSecondaryEventNumber
read event number from secondary input
IConversionSvc_t m_histoPersSvc
int declareEventRootAddress(EventContext &)
Declare the root address of the event.
tool_store::const_iterator tool_iterator
tool_stats m_toolInvoke
tool called counter
virtual bool terminateLoop() override
number_type m_currentRun
current run number
void modifyEventContext(EventContext &ctx, const EventID &eID, bool consume_modifier_stream)
unsigned int m_nev
events processed
StatusCode clearWBSlot(int evtSlot)
Clear a slot in the WB.
SmartIF< IAlgResourcePool > m_algResourcePool
Reference to the Algorithm resource pool.
virtual StatusCode executeAlgorithms()
Run the algorithms for the current event.
SmartIF< IScheduler > m_schedulerSvc
A shortcut for the scheduler.
std::unique_ptr< yampl::ISocket > m_socket
This class provides a unique identification for each event, in terms of run/event number and/or a tim...
UnsignedIntegerProperty m_eventPrintoutInterval
AthenaMtesEventLoopMgr()=delete
virtual void setCurrentEventNum(int num) override
ServiceHandle< Athena::IConditionsCleanerSvc > m_conditionsCleaner
StringProperty m_clearStorePolicy
std::string m_schedulerName
Name of the scheduler to be used.
StringProperty m_histPersName
virtual void handle(const Incident &inc) override
IIncidentListenet interfaces.
bool m_scheduledStop
Scheduled stop of event processing.
SmartIF< IIncidentListener > m_abortEventListener
Instance of the incident listener waiting for AbortEvent.
void setupPreSelectTools(Gaudi::Details::PropertyBase &)
property update handler:sets up the Pre-selection tools
unsigned int m_timeStampInt
virtual StatusCode stopRun() override
implementation of IEventProcessor::stopRun()
IDataManagerSvc_t m_histoDataMgrSvc
Reference to the Histogram Data Service.