![]() |
ATLAS Offline Software
|
#include <AthenaMtesEventLoopMgr.h>
Classes | |
| struct | RangeStruct |
Public Types | |
| typedef IEvtSelector::Context | EvtContext |
| typedef std::list< SmartIF< IAlgorithm > > | ListAlg |
Public Member Functions | |
| StatusCode | getEventRoot (IOpaqueAddress *&refpAddr) |
| Create event address using event selector. | |
| AthenaMtesEventLoopMgr (const std::string &nam, ISvcLocator *svcLoc) | |
| Standard Constructor. | |
| virtual | ~AthenaMtesEventLoopMgr () |
| Standard Destructor. | |
| virtual StatusCode | initialize () override |
| implementation of IAppMgrUI::initalize | |
| virtual StatusCode | finalize () override |
| implementation of IAppMgrUI::finalize | |
| virtual StatusCode | nextEvent (int maxevt) override |
| implementation of IAppMgrUI::nextEvent. maxevt==0 returns immediately | |
| virtual EventContext | createEventContext () override |
| implementation of IEventProcessor::createEventContext() | |
| virtual StatusCode | executeEvent (EventContext &&ctx) override |
| implementation of IEventProcessor::executeEvent(void* par) | |
| virtual StatusCode | executeRun (int maxevt) override |
| implementation of IEventProcessor::executeRun(int maxevt) | |
| virtual StatusCode | stopRun () override |
| implementation of IEventProcessor::stopRun() | |
| virtual StatusCode | stop () override |
| implementation of IService::stop | |
| virtual StatusCode | seek (int evt) override |
| Seek to a given event. | |
| virtual int | curEvent () const override |
| Return the current event count. | |
| virtual int | size () override |
| Return the size of the collection. | |
| virtual void | handle (const Incident &inc) override |
| IIncidentListenet interfaces. | |
| virtual void | resetAppReturnCode () override |
| Reset the application return code. | |
| virtual void | setCurrentEventNum (int num) override |
| virtual bool | terminateLoop () override |
| virtual int | drainScheduler (int &finishedEvents, bool report) override |
| Drain the scheduler from all actions that may be queued. | |
| virtual const std::string & | name () const override |
Public Attributes | |
| StringArrayProperty | m_testPilotMessages |
| bool | m_inTestMode { false } |
Protected Types | |
| typedef ServiceHandle< IIncidentSvc > | IIncidentSvc_t |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
| typedef ServiceHandle< IDataManagerSvc > | IDataManagerSvc_t |
| typedef ServiceHandle< IConversionSvc > | IConversionSvc_t |
| typedef ServiceHandle< IEvtIdModifierSvc > | IEvtIdModifierSvc_t |
| typedef EventID::number_type | number_type |
| typedef IAthenaEvtLoopPreSelectTool | tool_type |
| typedef ToolHandleArray< tool_type > | tool_store |
| typedef tool_store::const_iterator | tool_iterator |
| typedef std::vector< unsigned int > | tool_stats |
| typedef tool_stats::const_iterator | tool_stats_iterator |
Protected Member Functions | |
| void | setupPreSelectTools (Gaudi::Details::PropertyBase &) |
| property update handler:sets up the Pre-selection tools | |
| 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. | |
| virtual StatusCode | executeAlgorithms () |
| Run the algorithms for the current event. | |
| StatusCode | initializeAlgorithms () |
| Initialize all algorithms and output streams. | |
| StatusCode | clearWBSlot (int evtSlot) |
| Clear a slot in the WB. | |
| int | declareEventRootAddress (EventContext &) |
| Declare the root address of the event. | |
| void | setTimeout (Timeout &instance) |
| Set timeout. | |
| void | resetTimeout (Timeout &instance) |
| Reset timeout. | |
Protected Attributes | |
| IIncidentSvc_t | m_incidentSvc |
| Reference to the incident service. | |
| StoreGateSvc_t | m_eventStore |
| Reference to StoreGateSvc;. | |
| IEvtSelector * | m_evtSelector |
| Reference to the Event Selector. | |
| EvtContext * | m_evtContext |
| Gaudi event selector Context (may be used as a cursor by the evt selector) | |
| StringProperty | m_evtsel |
| IDataManagerSvc_t | m_histoDataMgrSvc |
| Reference to the Histogram Data Service. | |
| IConversionSvc_t | m_histoPersSvc |
| IEvtIdModifierSvc_t | m_evtIdModSvc |
| StringProperty | m_histPersName |
| number_type | m_currentRun |
| current run number | |
| bool | m_firstRun |
| IntegerProperty | m_failureMode |
| UnsignedIntegerProperty | m_eventPrintoutInterval |
| tool_stats | m_toolInvoke |
| tool called counter | |
| tool_stats | m_toolReject |
| tool returns StatusCode::FAILURE counter | |
| tool_stats | m_toolAccept |
| tool returns StatusCode::SUCCESS counter | |
| tool_store | m_tools |
| internal tool store | |
| StringProperty | m_clearStorePolicy |
| bool | m_requireInputAttributeList {} |
| require input attribute list | |
| bool | m_useSecondaryEventNumber {} |
| read event number from secondary input | |
| SmartIF< IHiveWhiteBoard > | m_whiteboard |
| Reference to the Whiteboard interface. | |
| SmartIF< IAlgResourcePool > | m_algResourcePool |
| Reference to the Algorithm resource pool. | |
| SmartIF< IAlgExecStateSvc > | m_aess |
| Reference to the Algorithm Execution State Svc. | |
| SmartIF< IProperty > | m_appMgrProperty |
| Property interface of ApplicationMgr. | |
| SmartIF< IScheduler > | m_schedulerSvc |
| A shortcut for the scheduler. | |
| SmartIF< IIncidentListener > | m_abortEventListener |
| Instance of the incident listener waiting for AbortEvent. | |
| std::string | m_schedulerName |
| Name of the scheduler to be used. | |
| std::string | m_whiteboardName |
| Name of the Whiteboard to be used. | |
| bool | m_scheduledStop |
| Scheduled stop of event processing. | |
| int | m_currentEvntNum {-1} |
Private Member Functions | |
| AthenaMtesEventLoopMgr ()=delete | |
| AthenaMtesEventLoopMgr (const AthenaMtesEventLoopMgr &)=delete | |
| AthenaMtesEventLoopMgr & | operator= (const AthenaMtesEventLoopMgr &)=delete |
| StoreGateSvc * | eventStore () const |
| void | modifyEventContext (EventContext &ctx, const EventID &eID, bool consume_modifier_stream) |
| std::unique_ptr< RangeStruct > | getNextRange (yampl::ISocket *socket) |
| void | trimRangeStrings (std::string &str) |
Private Attributes | |
| unsigned int | m_nevt |
| unsigned int | m_timeStamp { 0 } |
| UnsignedIntegerProperty | m_writeInterval |
| bool | m_writeHists |
| bool | m_terminateLoop { false } |
| unsigned int | m_nev |
| events processed | |
| unsigned int | m_proc |
| bool | m_useTools |
| bool | m_doEvtHeartbeat |
| unsigned int | m_flmbi |
| unsigned int | m_timeStampInt |
| ServiceHandle< Athena::IConditionsCleanerSvc > | m_conditionsCleaner |
| EventContext | m_lastEventContext |
| ServiceHandle< OutputStreamSequencerSvc > | m_outSeqSvc |
| Gaudi::Property< std::string > | m_eventRangeChannel |
| std::string | m_pfn {""} |
| std::unique_ptr< yampl::ISocket > | m_socket |
Definition at line 50 of file AthenaMtesEventLoopMgr.h.
| typedef IEvtSelector::Context AthenaMtesEventLoopMgr::EvtContext |
Definition at line 58 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 80 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 76 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 84 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 61 of file AthenaMtesEventLoopMgr.h.
| typedef std::list<SmartIF<IAlgorithm> > AthenaMtesEventLoopMgr::ListAlg |
Definition at line 249 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 91 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 65 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 105 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 106 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 107 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 104 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 103 of file AthenaMtesEventLoopMgr.h.
| AthenaMtesEventLoopMgr::AthenaMtesEventLoopMgr | ( | const std::string & | nam, |
| ISvcLocator * | svcLoc ) |
Standard Constructor.
Definition at line 75 of file AthenaMtesEventLoopMgr.cxx.
|
virtual |
|
privatedelete |
|
privatedelete |
|
protected |
Clear a slot in the WB.
Definition at line 1388 of file AthenaMtesEventLoopMgr.cxx.
|
overridevirtual |
implementation of IEventProcessor::createEventContext()
Definition at line 1222 of file AthenaMtesEventLoopMgr.cxx.
|
overridevirtual |
Return the current event count.
Definition at line 879 of file AthenaMtesEventLoopMgr.cxx.
|
protected |
Declare the root address of the event.
FIXME ???
Definition at line 999 of file AthenaMtesEventLoopMgr.cxx.
|
overridevirtual |
Drain the scheduler from all actions that may be queued.
Definition at line 1256 of file AthenaMtesEventLoopMgr.cxx.
|
inlineprivate |
Definition at line 334 of file AthenaMtesEventLoopMgr.cxx.
|
protectedvirtual |
Run the algorithms for the current event.
Definition at line 529 of file AthenaMtesEventLoopMgr.cxx.
|
overridevirtual |
implementation of IEventProcessor::executeEvent(void* par)
Fire begin-Run incident if new run:
Definition at line 538 of file AthenaMtesEventLoopMgr.cxx.
|
overridevirtual |
implementation of IEventProcessor::executeRun(int maxevt)
Definition at line 677 of file AthenaMtesEventLoopMgr.cxx.
|
overridevirtual |
implementation of IAppMgrUI::finalize
Definition at line 394 of file AthenaMtesEventLoopMgr.cxx.
| StatusCode AthenaMtesEventLoopMgr::getEventRoot | ( | IOpaqueAddress *& | refpAddr | ) |
Create event address using event selector.
Definition at line 977 of file AthenaMtesEventLoopMgr.cxx.
|
private |
Definition at line 1397 of file AthenaMtesEventLoopMgr.cxx.
|
overridevirtual |
IIncidentListenet interfaces.
Definition at line 910 of file AthenaMtesEventLoopMgr.cxx.
|
overridevirtual |
implementation of IAppMgrUI::initalize
Definition at line 155 of file AthenaMtesEventLoopMgr.cxx.
|
protected |
Initialize all algorithms and output streams.
Definition at line 521 of file AthenaMtesEventLoopMgr.cxx.
|
private |
Definition at line 1189 of file AthenaMtesEventLoopMgr.cxx.
|
inlineoverridevirtual |
Definition at line 224 of file AthenaMtesEventLoopMgr.h.
|
overridevirtual |
implementation of IAppMgrUI::nextEvent. maxevt==0 returns immediately
Definition at line 727 of file AthenaMtesEventLoopMgr.cxx.
|
privatedelete |
|
overridevirtual |
Reset the application return code.
Definition at line 1241 of file AthenaMtesEventLoopMgr.cxx.
|
inlineprotectedinherited |
|
overridevirtual |
Seek to a given event.
Definition at line 847 of file AthenaMtesEventLoopMgr.cxx.
|
protected |
property update handler:set the clear-store policy value and check its value.
Definition at line 342 of file AthenaMtesEventLoopMgr.cxx.
|
overridevirtual |
Definition at line 1246 of file AthenaMtesEventLoopMgr.cxx.
|
inlineprotectedinherited |
|
protected |
property update handler:sets up the Pre-selection tools
Definition at line 361 of file AthenaMtesEventLoopMgr.cxx.
|
overridevirtual |
Return the size of the collection.
Definition at line 887 of file AthenaMtesEventLoopMgr.cxx.
|
overridevirtual |
implementation of IService::stop
Definition at line 704 of file AthenaMtesEventLoopMgr.cxx.
|
overridevirtual |
implementation of IEventProcessor::stopRun()
Definition at line 689 of file AthenaMtesEventLoopMgr.cxx.
|
overridevirtual |
Definition at line 1250 of file AthenaMtesEventLoopMgr.cxx.
|
private |
Definition at line 1537 of file AthenaMtesEventLoopMgr.cxx.
|
protectedvirtual |
Dump out histograms as needed.
Definition at line 465 of file AthenaMtesEventLoopMgr.cxx.
|
protected |
Instance of the incident listener waiting for AbortEvent.
Definition at line 164 of file AthenaMtesEventLoopMgr.h.
|
protected |
Reference to the Algorithm Execution State Svc.
Definition at line 152 of file AthenaMtesEventLoopMgr.h.
|
protected |
Reference to the Algorithm resource pool.
Definition at line 149 of file AthenaMtesEventLoopMgr.h.
|
protected |
Property interface of ApplicationMgr.
Definition at line 155 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 120 of file AthenaMtesEventLoopMgr.h.
|
private |
Definition at line 261 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 172 of file AthenaMtesEventLoopMgr.h.
|
protected |
current run number
Definition at line 93 of file AthenaMtesEventLoopMgr.h.
|
private |
Definition at line 243 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 100 of file AthenaMtesEventLoopMgr.h.
|
private |
Definition at line 286 of file AthenaMtesEventLoopMgr.h.
|
protected |
|
protected |
Gaudi event selector Context (may be used as a cursor by the evt selector)
Definition at line 72 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 86 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 74 of file AthenaMtesEventLoopMgr.h.
|
protected |
Reference to the Event Selector.
Definition at line 70 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 97 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 94 of file AthenaMtesEventLoopMgr.h.
|
private |
Definition at line 245 of file AthenaMtesEventLoopMgr.h.
|
protected |
Reference to the Histogram Data Service.
Definition at line 78 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 82 of file AthenaMtesEventLoopMgr.h.
|
protected |
Definition at line 89 of file AthenaMtesEventLoopMgr.h.
|
protected |
Reference to the incident service.
Definition at line 63 of file AthenaMtesEventLoopMgr.h.
| bool AthenaMtesEventLoopMgr::m_inTestMode { false } |
Definition at line 254 of file AthenaMtesEventLoopMgr.h.
|
private |
Definition at line 265 of file AthenaMtesEventLoopMgr.h.
|
private |
events processed
Definition at line 240 of file AthenaMtesEventLoopMgr.h.
|
private |
Definition at line 231 of file AthenaMtesEventLoopMgr.h.
|
private |
Definition at line 284 of file AthenaMtesEventLoopMgr.h.
|
private |
Definition at line 294 of file AthenaMtesEventLoopMgr.h.
|
private |
Definition at line 241 of file AthenaMtesEventLoopMgr.h.
|
protected |
|
protected |
Scheduled stop of event processing.
Definition at line 170 of file AthenaMtesEventLoopMgr.h.
|
protected |
Name of the scheduler to be used.
Definition at line 166 of file AthenaMtesEventLoopMgr.h.
|
protected |
A shortcut for the scheduler.
Definition at line 158 of file AthenaMtesEventLoopMgr.h.
|
private |
Definition at line 297 of file AthenaMtesEventLoopMgr.h.
|
private |
Definition at line 237 of file AthenaMtesEventLoopMgr.h.
| StringArrayProperty AthenaMtesEventLoopMgr::m_testPilotMessages |
Definition at line 253 of file AthenaMtesEventLoopMgr.h.
|
private |
Definition at line 232 of file AthenaMtesEventLoopMgr.h.
|
private |
Definition at line 245 of file AthenaMtesEventLoopMgr.h.
|
protected |
tool returns StatusCode::SUCCESS counter
Definition at line 111 of file AthenaMtesEventLoopMgr.h.
|
protected |
tool called counter
Definition at line 109 of file AthenaMtesEventLoopMgr.h.
|
protected |
tool returns StatusCode::FAILURE counter
Definition at line 110 of file AthenaMtesEventLoopMgr.h.
|
protected |
internal tool store
Definition at line 112 of file AthenaMtesEventLoopMgr.h.
|
protected |
read event number from secondary input
Definition at line 125 of file AthenaMtesEventLoopMgr.h.
|
private |
Definition at line 242 of file AthenaMtesEventLoopMgr.h.
|
protected |
Reference to the Whiteboard interface.
Definition at line 146 of file AthenaMtesEventLoopMgr.h.
|
protected |
Name of the Whiteboard to be used.
Definition at line 168 of file AthenaMtesEventLoopMgr.h.
|
private |
Definition at line 235 of file AthenaMtesEventLoopMgr.h.
|
private |
Definition at line 234 of file AthenaMtesEventLoopMgr.h.