BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
HltConfigSvc.h
Go to the documentation of this file.
1#ifndef HLTCONFIGSVC_H
2#define HLTCONFIGSVC_H
3
4#include <string>
5//#include <stdio.h>
6//#include <iostream>
7//#include <strstream>
8//#include <map>
9
10#include "GaudiKernel/Service.h"
11//#include "GaudiKernel/IInterface.h"
12#include "GaudiKernel/PropertyMgr.h"
13#include "GaudiKernel/IIncidentListener.h"
14#include "GaudiKernel/IDataProviderSvc.h"
16
19#include "HltConfig/MyFrame.h"
20
21using namespace HltProcessor;
22
23static const InterfaceID IID_IHltConfigSvc("IHltConfigSvc", 1, 0);
24
25class HltConfigSvc :public Service , virtual public IIncidentListener {
26
27public:
28
29 HltConfigSvc(const std::string& name, ISvcLocator* sl);
31
32 virtual StatusCode queryInterface(const InterfaceID& riid, void** ppvIF);
33 virtual StatusCode initialize ( );
34 virtual StatusCode finalize ( );
35 virtual void handle(const Incident&);
36 StatusCode GenFileFromDatabase();
37
38 const std::vector<std::pair<Signature*, Sequence*> >& retrieve();
39
40private:
41
42 //HltConfigSvc* m_HltConfigSvc;
43 IDatabaseSvc* m_dbsvc;
44 IDataProviderSvc* m_eventSvc;
45
46 bool m_fromDatabase;
47 std::string m_seqListFile;
48 std::string m_sigListFile;
49
50 PropertyMgr m_propMgr;
51
52public:
53
54 static const InterfaceID& interfaceID() { return IID_IHltConfigSvc; }
55
56};
57
58#endif
59
60
const std::vector< std::pair< Signature *, Sequence * > > & retrieve()
virtual StatusCode finalize()
static const InterfaceID & interfaceID()
Definition: HltConfigSvc.h:54
StatusCode GenFileFromDatabase()
virtual void handle(const Incident &)
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvIF)
virtual StatusCode initialize()