BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
Tof/TofCaliSvc/TofCaliSvc-00-01-13/TofCaliSvc/TofInfoCal.h
Go to the documentation of this file.
1#ifndef TOFINFO_CAL_H
2#define TOFINFO_CAL_H
3
4class TofInfoCal{
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 int getEtf(unsigned int im) const { return m_etf[im]; }
21
22 public:
23 void setRunBegin( int run1 ) { m_run1 = run1; }
24 void setRunEnd( int run2 ) { m_run2 = run2; }
25 void setVersion( int version ) { m_version = version; }
26
27 void setQCorr( int qcorr ) { m_qcorr = qcorr; }
28 void setQElec( int qelec ) { m_qelec = qelec; }
29 void setMisLable( int mis ) { m_mislable = mis; }
30
31 void setBrEast(unsigned int i, int id1) { m_breast[i] = id1; }
32 void setBrWest(unsigned int i, int id2) { m_brwest[i] = id2; }
33 void setEndcap(unsigned int i, int id3) { m_endcap[i] = id3; }
34 void setEtf(unsigned int i, int id4) { m_endcap[i] = id4; }
35
36 private:
37 int m_run1, m_run2, m_version;
38 int m_qcorr, m_qelec, m_mislable;
39 int m_breast[5], m_brwest[5], m_endcap[5], m_etf[5];
40
41};
42
43#endif
44