The Gaudi Framework  v29r0 (ff2e7097)
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
7 
8 // std includes
9 #include <memory>
10 
11 // Forward declarations
12 class IIncidentSvc;
13 class IDataManagerSvc;
14 class IDataProviderSvc;
15 
39 {
40 public:
41 protected:
42  // Properties
43 
44  Gaudi::Property<std::string> m_histPersName{this, "HistogramPersistency", {}, "name of the Hist Pers type"};
45  Gaudi::Property<std::string> m_evtsel{this, "EvtSel", {}, "event selector"};
46  Gaudi::Property<bool> m_warnings{this, "Warnings", true, "set to false to suppress warning messages"};
47 
64  bool m_endEventFired = true;
65 
66 public:
67  // inherit contructor from base class
69 
71  ~EventLoopMgr() override;
74 
76  StatusCode initialize() override;
78  StatusCode reinitialize() override;
80  StatusCode stop() override;
82  StatusCode finalize() override;
84  StatusCode nextEvent( int maxevt ) override;
86  StatusCode executeEvent( void* par ) override;
87 };
88 #endif // GAUDISVC_EVENTLOOPMGR_H
StatusCode finalize() override
implementation of IService::finalize
Implementation of property with value of concrete type.
Definition: Property.h:319
SmartIF< IConversionSvc > m_histoPersSvc
Reference to the Histogram Persistency Service.
Definition: EventLoopMgr.h:59
Gaudi::Property< bool > m_warnings
Definition: EventLoopMgr.h:46
StatusCode reinitialize() override
implementation of IService::reinitialize
Data provider interface definition.
Class definition of EventLoopMgr.
Definition: EventLoopMgr.h:38
StatusCode executeEvent(void *par) override
implementation of IEventProcessor::executeEvent(void* par)
Gaudi::Property< std::string > m_histPersName
Definition: EventLoopMgr.h:44
StatusCode nextEvent(int maxevt) override
implementation of IService::nextEvent
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
StatusCode getEventRoot(IOpaqueAddress *&refpAddr)
Create event address using event selector.
SmartIF< IDataManagerSvc > m_evtDataMgrSvc
Reference to the Event Data Service&#39;s IDataManagerSvc interface.
Definition: EventLoopMgr.h:49
StatusCode initialize() override
implementation of IService::initialize
SmartIF< IProperty > m_appMgrProperty
Property interface of ApplicationMgr.
Definition: EventLoopMgr.h:61
IEvtSelector::Context * m_evtContext
Event Iterator.
Definition: EventLoopMgr.h:55
SmartIF< IEvtSelector > m_evtSelector
Reference to the Event Selector.
Definition: EventLoopMgr.h:53
StatusCode stop() override
implementation of IService::stop
Gaudi::Property< std::string > m_evtsel
Definition: EventLoopMgr.h:45
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:64
SmartIF< IDataProviderSvc > m_evtDataSvc
Reference to the Event Data Service&#39;s IDataProviderSvc interface.
Definition: EventLoopMgr.h:51
This is the default processing manager of the application manager.
~EventLoopMgr() override
Standard Destructor.
Opaque address interface definition.
int maxevt
Definition: Bootstrap.cpp:279
MinimalEventLoopMgr(const std::string &nam, ISvcLocator *svcLoc)
Standard Constructor.
The interface implemented by the IncidentSvc service.
Definition: IIncidentSvc.h:23
SmartIF< IDataManagerSvc > m_histoDataMgrSvc
Reference to the Histogram Data Service.
Definition: EventLoopMgr.h:57