BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Tof/TofCaliSvc/TofCaliSvc-00-01-13/TofCaliSvc/BTofCommonCal.h
Go to the documentation of this file.
1#ifndef BTOFCOMMON_CAL_H
2#define BTOFCOMMON_CAL_H
3
4const unsigned int nBarSigCor = 8;
5const unsigned int nBarOffset = 2;
6
7class BTofCommonCal{
8 public:
11 public:
12 double getSigmaCorr(int idx) const{ return m_sigmac[idx]; }
13 double getOffset(int idx) const{ return m_offset[idx]; }
14
15 public:
16 void setSigmaCorr(int idx, double sigmac) { m_sigmac[idx] = sigmac; }
17 void setOffset(int idx, double offset) { m_offset[idx] = offset; }
18
19 private:
20 double m_sigmac[nBarSigCor];
21 double m_offset[nBarOffset];
22};
23#endif