CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Tof/EstTofCaliSvc/EstTofCaliSvc-00-00-08/EstTofCaliSvc/BTofCal.h
Go to the documentation of this file.
1#ifndef BTOF_CAL_H
2#define BTOF_CAL_H
3
4const unsigned int nBarPar = 10;
5const unsigned int nBarParOff = 20;
6
7class BTofCal{
8 public:
9 BTofCal() {}
11 public:
12 double getP1(int idx) const{ return m_p1[idx]; }
13 double getP2(int idx) const{ return m_p2[idx]; }
14 // double getPOff1(int idx) const{ return m_poff1[idx]; }
15 // double getPOff2(int idx) const{ return m_poff2[idx]; }
16
17 public:
18 void setP1(int idx,double p1) { m_p1[idx] = p1; }
19 void setP2(int idx,double p2) { m_p2[idx] = p2; }
20 // void setPOff1(int idx,double poff1) { m_poff1[idx] = poff1; }
21 // void setPOff2(int idx,double poff2) { m_poff2[idx] = poff2; }
22
23 private:
24 double m_p1[nBarPar]; // left time calibration constant
25 double m_p2[nBarPar]; // right time calibration constant
26 // double m_poff1[nBarParOff]; // left time calibration constant
27 // double m_poff2[nBarParOff]; // right time calibration constant
28};
29#endif