All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
EventLoopMgr.h
Go to the documentation of this file.
1 #ifndef GAUDISVC_EVENTLOOPMGR_H
2 #define GAUDISVC_EVENTLOOPMGR_H 1
3 
4 // Framework include files
5 #include "GaudiKernel/IEvtSelector.h"
6 #include "GaudiKernel/MinimalEventLoopMgr.h"
7 
8 // std includes
9 #include <memory>
10 
11 // Forward declarations
12 class IIncidentSvc;
13 class IDataManagerSvc;
14 class IDataProviderSvc;
15 
39 public:
40 
41 protected:
51  std::string m_evtsel;
57  std::string m_histPersName;
62  bool m_endEventFired = true;
64  bool m_warnings = true;
65 
66 public:
68  EventLoopMgr(const std::string& nam, ISvcLocator* svcLoc);
70  ~EventLoopMgr() override;
73 
75  StatusCode initialize() override;
77  StatusCode reinitialize() override;
79  StatusCode stop() override;
81  StatusCode finalize() override;
83  StatusCode nextEvent(int maxevt) override;
85  StatusCode executeEvent(void* par) override;
86 };
87 #endif // GAUDISVC_EVENTLOOPMGR_H
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
StatusCode finalize() override
implementation of IService::finalize
SmartIF< IConversionSvc > m_histoPersSvc
Reference to the Histogram Persistency Service.
Definition: EventLoopMgr.h:55
std::string m_histPersName
Name of the Hist Pers type.
Definition: EventLoopMgr.h:57
StatusCode reinitialize() override
implementation of IService::reinitialize
Data provider interface definition.
Class definition of EventLoopMgr.
Definition: EventLoopMgr.h:38
bool m_warnings
Flag to disable warning messages when using external input.
Definition: EventLoopMgr.h:64
StatusCode executeEvent(void *par) override
implementation of IEventProcessor::executeEvent(void* par)
StatusCode nextEvent(int maxevt) override
implementation of IService::nextEvent
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
StatusCode getEventRoot(IOpaqueAddress *&refpAddr)
Create event address using event selector.
EventLoopMgr(const std::string &nam, ISvcLocator *svcLoc)
Standard Constructor.
SmartIF< IDataManagerSvc > m_evtDataMgrSvc
Reference to the Event Data Service's IDataManagerSvc interface.
Definition: EventLoopMgr.h:43
StatusCode initialize() override
implementation of IService::initialize
SmartIF< IProperty > m_appMgrProperty
Property interface of ApplicationMgr.
Definition: EventLoopMgr.h:59
IEvtSelector::Context * m_evtContext
Event Iterator.
Definition: EventLoopMgr.h:49
SmartIF< IEvtSelector > m_evtSelector
Reference to the Event Selector.
Definition: EventLoopMgr.h:47
StatusCode stop() override
implementation of IService::stop
bool m_endEventFired
Flag to avoid to fire the EnvEvent incident twice in a row (and also not before the first event) ...
Definition: EventLoopMgr.h:62
SmartIF< IDataProviderSvc > m_evtDataSvc
Reference to the Event Data Service's IDataProviderSvc interface.
Definition: EventLoopMgr.h:45
This is the default processing manager of the application manager.
~EventLoopMgr() override
Standard Destructor.
Opaque address interface definition.
std::string m_evtsel
Event selector.
Definition: EventLoopMgr.h:51
The interface implemented by the IncidentSvc service.
Definition: IIncidentSvc.h:21
SmartIF< IDataManagerSvc > m_histoDataMgrSvc
Reference to the Histogram Data Service.
Definition: EventLoopMgr.h:53