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