BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
EstTofCaliSvc/EstTofCaliSvc-00-00-08/EstTofCaliSvc/TofInfoCal.h
Go to the documentation of this file.
1#ifndef TOFINFO_CAL_H
2#define TOFINFO_CAL_H
3
5 public:
8 public:
9 int getRunBegin() const { return m_run1; }
10 int getRunEnd() const { return m_run2; }
11 int getVersion() const { return m_version; }
12
13 int getQCorr() const { return m_qcorr; }
14 int getQElec() const { return m_qelec; }
15 int getMisLable() const { return m_mislable; }
16
17 int getBrEast(unsigned int im) const { return m_breast[im]; }
18 int getBrWest(unsigned int im) const { return m_brwest[im]; }
19 int getEndcap(unsigned int im) const { return m_endcap[im]; }
20
21 public:
22 void setRunBegin( int run1 ) { m_run1 = run1; }
23 void setRunEnd( int run2 ) { m_run2 = run2; }
24 void setVersion( int version ) { m_version = version; }
25
26 void setQCorr( int qcorr ) { m_qcorr = qcorr; }
27 void setQElec( int qelec ) { m_qelec = qelec; }
28 void setMisLable( int mis ) { m_mislable = mis; }
29
30 void setBrEast(unsigned int i, int id1) { m_breast[i] = id1; }
31 void setBrWest(unsigned int i, int id2) { m_brwest[i] = id2; }
32 void setEndcap(unsigned int i, int id3) { m_endcap[i] = id3; }
33
34 private:
35 int m_run1, m_run2, m_version;
36 int m_qcorr, m_qelec, m_mislable;
37 int m_breast[5], m_brwest[5], m_endcap[5];
38
39};
40
41#endif
42