| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EventLoopMgr.h
Go to the documentation of this file.
1 // $Id: EventLoopMgr.h,v 1.9 2008/10/09 13:40:18 marcocle Exp $
2 #ifndef GAUDISVC_EVENTLOOPMGR_H
3 #define GAUDISVC_EVENTLOOPMGR_H 1
4
5 // Framework include files
6 #include "GaudiKernel/IEvtSelector.h"
7 #include "GaudiKernel/MinimalEventLoopMgr.h"
8
9 // std includes
10 #include <memory>
11
12 // Forward declarations
13 class IIncidentSvc;
14 class IDataManagerSvc;
15 class IDataProviderSvc;
16
39 class EventLoopMgr : public MinimalEventLoopMgr {
40 public:
41
42 protected:
44 SmartIF<IDataManagerSvc> m_evtDataMgrSvc;
46 SmartIF<IDataProviderSvc> m_evtDataSvc;
48 SmartIF<IEvtSelector> m_evtSelector;
50 IEvtSelector::Context* m_evtContext;
52 std::string m_evtsel;
54 SmartIF<IDataManagerSvc> m_histoDataMgrSvc;
56 SmartIF<IConversionSvc> m_histoPersSvc;
58 std::string m_histPersName;
60 SmartIF<IProperty> m_appMgrProperty;
63 bool m_endEventFired;
65 bool m_warnings;
66
67 public:
69 EventLoopMgr(const std::string& nam, ISvcLocator* svcLoc);
71 virtual ~EventLoopMgr();
73 StatusCode getEventRoot(IOpaqueAddress*& refpAddr);
74
76 virtual StatusCode initialize();
78 virtual StatusCode reinitialize();
80 virtual StatusCode stop();
82 virtual StatusCode finalize();
84 virtual StatusCode nextEvent(int maxevt);
86 virtual StatusCode executeEvent(void* par);
88 virtual StatusCode executeRun(int maxevt);
89 };
90 #endif // GAUDISVC_EVENTLOOPMGR_H