BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/EstTofCaliSvc/EstTofCaliSvc/EtfCal.h
Go to the documentation of this file.
1#ifndef ETF_CAL_H
2#define ETF_CAL_H
3
4const unsigned int nEtfPar = 20;
5
6class EtfCal{
7 public:
8 EtfCal() {}
10
11 public:
12 double getP(int idx) const{ return m_p[idx]; }
13 double getP1(int idx) const{ return m_p1[idx]; }
14 double getP2(int idx) const{ return m_p2[idx]; }
15
16 public:
17 void setP(int idx,double p) { m_p[idx] = p; }
18 void setP1(int idx,double p1) { m_p1[idx] = p1; }
19 void setP2(int idx,double p2) { m_p2[idx] = p2; }
20
21 private:
22 double m_p[nEtfPar]; // combined time calibration constant
23 double m_p1[nEtfPar]; // left time calibration constant
24 double m_p2[nEtfPar]; // right time calibration constant
25
26};
27#endif