BOSS 8.0.0
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/IDataProviderSvc.h"
5#include "GaudiKernel/IIncidentListener.h"
6#include "GaudiKernel/IInterface.h"
7#include "GaudiKernel/Kernel.h"
8#include "GaudiKernel/Service.h"
9
10#include "CalibDataSvc/ICalibRootSvc.h"
11
12#include "InjSigIntervalSvc/IInjSigIntervalSvc.h"
13
14// class InjSigIntervalSvc: public Service, virtual public IInjSigIntervalSvc,
15class InjSigIntervalSvc : public extends<Service, 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#endif /* INJSIGINTERVALSVC_H_ */
InjSigIntervalSvc(const std::string &name, ISvcLocator *svcloc)
void handle(const Incident &)
virtual StatusCode finalize()
virtual StatusCode initialize()