The Gaudi Framework  v32r2 (46d42edc)
EventLoopMgr.h
Go to the documentation of this file.
1 #ifndef GAUDISVC_EVENTLOOPMGR_H
2 #define GAUDISVC_EVENTLOOPMGR_H 1
3 
10 #include <memory>
11 
35 public:
36 protected:
37  // Properties
38 
39  Gaudi::Property<std::string> m_histPersName{this, "HistogramPersistency", {}, "name of the Hist Pers type"};
40  Gaudi::Property<std::string> m_evtsel{this, "EvtSel", {}, "event selector"};
41  Gaudi::Property<bool> m_warnings{this, "Warnings", true, "set to false to suppress warning messages"};
42 
59  bool m_endEventFired = true;
60 
61 public:
62  // inherit contructor from base class
64 
66  ~EventLoopMgr() override;
69 
71  StatusCode initialize() override;
73  StatusCode reinitialize() override;
75  StatusCode stop() override;
77  StatusCode finalize() override;
79  StatusCode nextEvent( int maxevt ) override;
82 };
83 #endif // GAUDISVC_EVENTLOOPMGR_H
StatusCode finalize() override
implementation of IService::finalize
Implementation of property with value of concrete type.
Definition: Property.h:352
SmartIF< IConversionSvc > m_histoPersSvc
Reference to the Histogram Persistency Service.
Definition: EventLoopMgr.h:54
Gaudi::Property< bool > m_warnings
Definition: EventLoopMgr.h:41
StatusCode executeEvent(EventContext &&ctx) override
implementation of IEventProcessor::executeEvent(EventContext&&)
StatusCode reinitialize() override
implementation of IService::reinitialize
This class represents an entry point to all the event specific data.
Definition: EventContext.h:24
Class definition of EventLoopMgr.
Definition: EventLoopMgr.h:34
Gaudi::Property< std::string > m_histPersName
Definition: EventLoopMgr.h:39
StatusCode nextEvent(int maxevt) override
implementation of IEventProcessor::nextEvent
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
StatusCode getEventRoot(IOpaqueAddress *&refpAddr)
Create event address using event selector.
SmartIF< IDataManagerSvc > m_evtDataMgrSvc
Reference to the Event Data Service's IDataManagerSvc interface.
Definition: EventLoopMgr.h:44
StatusCode initialize() override
implementation of IService::initialize
SmartIF< IProperty > m_appMgrProperty
Property interface of ApplicationMgr.
Definition: EventLoopMgr.h:56
IEvtSelector::Context * m_evtContext
Event Iterator.
Definition: EventLoopMgr.h:50
SmartIF< IEvtSelector > m_evtSelector
Reference to the Event Selector.
Definition: EventLoopMgr.h:48
StatusCode stop() override
implementation of IService::stop
Gaudi::Property< std::string > m_evtsel
Definition: EventLoopMgr.h:40
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:59
SmartIF< IDataProviderSvc > m_evtDataSvc
Reference to the Event Data Service's IDataProviderSvc interface.
Definition: EventLoopMgr.h:46
This is the default processing manager of the application manager.
~EventLoopMgr() override
Standard Destructor.
Opaque address interface definition.
int maxevt
Definition: Bootstrap.cpp:260
MinimalEventLoopMgr(const std::string &nam, ISvcLocator *svcLoc)
Standard Constructor.
SmartIF< IDataManagerSvc > m_histoDataMgrSvc
Reference to the Histogram Data Service.
Definition: EventLoopMgr.h:52