BOSS 7.0.7
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 double getCrystalEmaxData( int Index) const =0;
34 virtual double getCrystalDeadEcut( int Index) const =0;
35
36 virtual void Dump() = 0;
37 public:
39 double m_CrystalEmaxData[6240];
40 //double m_CrystalDeadEcut[6240];
41
42 private:
43
44 // IEmcRecGeoSvc* m_emcRecGeoSvc;
45};
46
47#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
double m_CrystalEmaxData[6240]
virtual int getIxtalNumber(int No) const =0
virtual int getIxtalNumberNo() const =0
virtual unsigned int getPhiIndex(int Index) const =0
virtual double getCrystalDeadEcut(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
virtual double getCrystalEmaxData(int Index) const =0