BOSS 7.1.2
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
15//class InjSigIntervalSvc: public Service, virtual public IInjSigIntervalSvc,
16class InjSigIntervalSvc: public extends<Service, IInjSigIntervalSvc>,
17 virtual public IIncidentListener{
18public:
19 InjSigIntervalSvc( 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 getTInterval() const {return m_tInterval;}
31
32private:
33 /* initial calib const */
34 bool initCalibConst();
35
36 IDataProviderSvc* m_pCalDataSvc;
37 ICalibRootSvc* m_pRootSvc;
38
39 int m_tInterval;
40
41};
42
43#endif /* INJSIGINTERVALSVC_H_ */
InjSigIntervalSvc(const std::string &name, ISvcLocator *svcloc)
void handle(const Incident &)
virtual StatusCode finalize()
virtual StatusCode initialize()