BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
EstTofCaliSvc/EstTofCaliSvc-00-00-14/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 int getRunFrom() const { return m_runFrom; }
22 int getRunTo() const { return m_runTo; }
23 int getEventFrom() const { return m_eventFrom; }
24 int getEventTo() const { return m_eventTo; }
25
26 public:
27 void setRunBegin( int run1 ) { m_run1 = run1; }
28 void setRunEnd( int run2 ) { m_run2 = run2; }
29 void setVersion( int version ) { m_version = version; }
30
31 void setQCorr( int qcorr ) { m_qcorr = qcorr; }
32 void setQElec( int qelec ) { m_qelec = qelec; }
33 void setMisLable( int mis ) { m_mislable = mis; }
34
35 void setBrEast(unsigned int i, int id1) { m_breast[i] = id1; }
36 void setBrWest(unsigned int i, int id2) { m_brwest[i] = id2; }
37 void setEndcap(unsigned int i, int id3) { m_endcap[i] = id3; }
38
39 void setRunFrom( int runFrom ) { m_runFrom = runFrom; }
40 void setRunTo( int runTo ) { m_runTo = runTo; }
41 void setEventFrom( int evtFrom ) { m_eventFrom = evtFrom; }
42 void setEventTo( int evtTo ) { m_eventTo = evtTo; }
43
44 private:
45 int m_run1, m_run2, m_version;
46 int m_qcorr, m_qelec, m_mislable;
47 int m_breast[5], m_brwest[5], m_endcap[5];
48 int m_runFrom, m_runTo, m_eventFrom, m_eventTo;
49
50};
51
52#endif
53