CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Calibration/CalibData/CalibData-00-01-09/CalibData/Tof/tofCalibInfoBase.h
Go to the documentation of this file.
1#ifndef CalibData_tofCalibInfoBase_h
2#define CalibData_tofCalibInfoBase_h
3
4#include "GaudiKernel/DataObject.h"
5#include "CalibData/CalibModel.h"
6#include <vector>
7
8namespace CalibData {
10 public:
12
13 virtual ~tofCalibInfoBase() {}
14
15 //set the Calib Info of Tof
16 void setRunBegin(const int run1) { m_run1 = run1; }
17 void setRunEnd(const int run2) { m_run2 = run2; }
18 void setVersion(const int version) { m_version = version; }
19
20 void setQCorr(const int qCorr) { m_qCorr = qCorr; }
21 void setQElec(const int qElec) { m_qElec = qElec; }
22 void setMisLable(const int misLable) { m_misLable = misLable; }
23
24 void setBrEast(const int* tofidEast);
25 void setBrWest(const int* tofidWest);
26 void setEndcap(const int* tofidEndcap);
27
28 //get the Calib Info of Tof
29 int getRunBegin() const { return m_run1; }
30 int getRunEnd() const { return m_run2; }
31 int getVersion() const { return m_version; }
32
33 int getQCorr() const { return m_qCorr; }
34 int getQElec() const { return m_qElec; }
35 int getMisLable() const { return m_misLable; }
36
37 int getBrEast(int No) const { return m_tofidEast[No]; }
38 int getBrWest(int No) const { return m_tofidWest[No]; }
39 int getEndcap(int No) const { return m_tofidEndcap[No]; }
40
41 private:
42 int m_run1, m_run2, m_version;
43 int m_qCorr, m_qElec, m_misLable;
44 int m_tofidEast[5], m_tofidWest[5], m_tofidEndcap[5];
45
46 };
47}
48
49#endif
void setBrWest(const int *tofidWest)
void setBrEast(const int *tofidEast)
void setEndcap(const int *tofidEndcap)