BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
InjSigTimeSvc.h
Go to the documentation of this file.
1#ifndef INJSIGTIMESVC_H_
2#define INJSIGTIMESVC_H_
3
4#include "GaudiKernel/IInterface.h"
5#include "GaudiKernel/Kernel.h"
6#include "GaudiKernel/Service.h"
7#include "GaudiKernel/IIncidentListener.h"
8
9#include "GaudiKernel/IDataProviderSvc.h"
11
13
14#include <vector>
15class InjSigTimeSvc: public extends<Service, IInjSigTimeSvc>,
16//class InjSigTimeSvc: public Service, virtual public IInjSigTimeSvc,
17 virtual public IIncidentListener{
18public:
19 InjSigTimeSvc( const std::string& name, ISvcLocator* svcloc );
21
22 //virtual StatusCode queryInterface(const InterfaceID& riid, void** ppvUnknown);
23 virtual StatusCode initialize();
24 virtual StatusCode finalize();
25
26 // Incident handler
27 void handle(const Incident&);
28
29 //get the CalibData of OffEvtFilter
30 int getNpar() const {return m_npar;}
31 int getFlag(unsigned int parId) const {return m_flag[parId];}
32 ULong64_t getIST(unsigned int parId) const {return m_IST[parId];}
33
34private:
35 /* initial calib const */
36 bool initCalibConst();
37
38 IDataProviderSvc* m_pCalDataSvc;
39 ICalibRootSvc* m_pRootSvc;
40
41 int m_npar;
42 std::vector<int> m_flag;
43 std::vector<ULong64_t> m_IST;
44
45};
46
47#endif /* INJSIGTIMESVC_H_ */
int getNpar() const
Definition: InjSigTimeSvc.h:30
ULong64_t getIST(unsigned int parId) const
Definition: InjSigTimeSvc.h:32
virtual StatusCode finalize()
void handle(const Incident &)
int getFlag(unsigned int parId) const
Definition: InjSigTimeSvc.h:31
virtual StatusCode initialize()