BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
InjSigIntervalSvc.h
Go to the documentation of this file.
1#ifndef INJSIGINTERVALSVC_H_
2#define INJSIGINTERVALSVC_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
15class InjSigIntervalSvc: public Service, virtual public IInjSigIntervalSvc,
16 virtual public IIncidentListener{
17public:
18 InjSigIntervalSvc( const std::string& name, ISvcLocator* svcloc );
20
21 virtual StatusCode queryInterface(const InterfaceID& riid, void** ppvUnknown);
22 virtual StatusCode initialize();
23 virtual StatusCode finalize();
24
25 // Incident handler
26 void handle(const Incident&);
27
28 //get the CalibData of OffEvtFilter
29 int getTInterval() const {return m_tInterval;}
30
31private:
32 /* initial calib const */
33 bool initCalibConst();
34
35 IDataProviderSvc* m_pCalDataSvc;
36 ICalibRootSvc* m_pRootSvc;
37
38 int m_tInterval;
39
40};
41
42#endif /* INJSIGINTERVALSVC_H_ */
void handle(const Incident &)
int getTInterval() const
virtual StatusCode finalize()
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvUnknown)
virtual StatusCode initialize()