BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
tofCalibInfoBase.h
Go to the documentation of this file.
1#ifndef CalibData_tofCalibInfoBase_h
2#define CalibData_tofCalibInfoBase_h
3
4#include "GaudiKernel/DataObject.h"
6#include <vector>
7
8namespace CalibData {
10 public:
12
13 virtual ~tofCalibInfoBase() {}
14
15 //set the Calib Info of Tof
16 void setRunFrom(const int runFrom) { m_runFrom = runFrom; }
17 void setRunTo(const int runTo) { m_runTo = runTo; }
18 void setEventFrom(const int eventFrom) { m_eventFrom = eventFrom;}
19 void setEventTo(const int eventTo) { m_eventTo = eventTo; }
20
21 void setRunBegin(const int run1) { m_run1 = run1; }
22 void setRunEnd(const int run2) { m_run2 = run2; }
23 void setVersion(const int version) { m_version = version; }
24
25 void setQCorr(const int qCorr) { m_qCorr = qCorr; }
26 void setQElec(const int qElec) { m_qElec = qElec; }
27 void setMisLable(const int misLable) { m_misLable = misLable; }
28
29 void setBrEast(const int* tofidEast);
30 void setBrWest(const int* tofidWest);
31 void setEndcap(const int* tofidEndcap);
32
33 //get the Calib Info of Tof
34 int getRunFrom() const { return m_runFrom; }
35 int getRunTo() const { return m_runTo; }
36 int getEventFrom() const { return m_eventFrom;}
37 int getEventTo() const { return m_eventTo; }
38
39 int getRunBegin() const { return m_run1; }
40 int getRunEnd() const { return m_run2; }
41 int getVersion() const { return m_version; }
42
43 int getQCorr() const { return m_qCorr; }
44 int getQElec() const { return m_qElec; }
45 int getMisLable() const { return m_misLable; }
46
47 int getBrEast(int No) const { return m_tofidEast[No]; }
48 int getBrWest(int No) const { return m_tofidWest[No]; }
49 int getEndcap(int No) const { return m_tofidEndcap[No]; }
50
51 private:
52 int m_runFrom, m_runTo, m_eventFrom, m_eventTo;
53 int m_run1, m_run2, m_version;
54 int m_qCorr, m_qElec, m_misLable;
55 int m_tofidEast[5], m_tofidWest[5], m_tofidEndcap[5];
56
57 };
58}
59
60#endif
void setRunFrom(const int runFrom)
void setBrWest(const int *tofidWest)
void setRunEnd(const int run2)
void setVersion(const int version)
void setMisLable(const int misLable)
void setRunBegin(const int run1)
void setEventTo(const int eventTo)
void setRunTo(const int runTo)
void setBrEast(const int *tofidEast)
void setQElec(const int qElec)
void setEventFrom(const int eventFrom)
void setQCorr(const int qCorr)
void setEndcap(const int *tofidEndcap)