BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
Emc/EmcCalibConstSvc/EmcCalibConstSvc-00-00-12/EmcCalibConstSvc/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"
6#include "EmcRecGeoSvc/IEmcRecGeoSvc.h"
7#include "EmcRecGeoSvc/EmcRecGeoSvc.h"
8#include "EmcGeneralClass/EmcStructure.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
35 virtual void Dump() = 0;
36 public:
38 double m_CrystalEmaxData[6240];
39 private:
40
41 // IEmcRecGeoSvc* m_emcRecGeoSvc;
42};
43
44#endif /* IEMCCALIBCONSTSVC_H_ */
virtual void Dump()=0
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
virtual double getCrystalEmaxData(int Index) const =0