CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
IEmcCalibConstSvc.h
Go to the documentation of this file.
1#ifndef IEMCCALIBCONSTSVC_H_
2#define IEMCCALIBCONSTSVC_H_
3
4#include "GaudiKernel/IInterface.h"
5#include "GaudiKernel/Kernel.h"
9
10/* Declaration of the interface ID */
11static const InterfaceID IID_IEmcCalibConstSvc("IEmcCalibConstSvc",1,0);
12
13class IEmcCalibConstSvc: virtual public IInterface{
14 public:
15 static const InterfaceID& interfaceID() { return IID_IEmcCalibConstSvc; }
16
17 virtual double getDigiCalibConst(int No) const =0;
18
19 virtual int getIxtalNumber(int No) const =0;
20
21 //get the size of the vectors
22 virtual int getDigiCalibConstNo() const =0;
23 virtual int getIxtalNumberNo() const =0;
24
25 //getPartID()=0, or 1, or 2, here endcap_east(0), barrel(1), endcap_west(2)
26 virtual int getIndex( unsigned int PartId,
27 unsigned int ThetaIndex,
28 unsigned int PhiIndex) const =0;
29 virtual unsigned int getPartID(int Index) const=0;
30 virtual unsigned int getThetaIndex( int Index) const =0;
31 virtual unsigned int getPhiIndex( int Index) const =0;
32
33 virtual void Dump() = 0;
34 public:
36 private:
37
38 // IEmcRecGeoSvc* m_emcRecGeoSvc;
39};
40
41#endif /* IEMCCALIBCONSTSVC_H_ */
EmcStructure * m_theEmcStruc
virtual void Dump()=0
static const InterfaceID & interfaceID()
virtual int getDigiCalibConstNo() const =0
virtual unsigned int getPartID(int Index) const =0
virtual double getDigiCalibConst(int No) const =0
virtual int getIxtalNumber(int No) const =0
virtual int getIxtalNumberNo() const =0
virtual unsigned int getPhiIndex(int Index) const =0
virtual unsigned int getThetaIndex(int Index) const =0
virtual int getIndex(unsigned int PartId, unsigned int ThetaIndex, unsigned int PhiIndex) const =0