BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Tof/TofCaliSvc/include/TofCaliSvc/TofInfoCal.h
Go to the documentation of this file.
1#ifndef TOFINFO_CAL_H
2#define TOFINFO_CAL_H
3
4class TofInfoCal {
5public:
8
9public:
10 int getRunBegin() const { return m_run1; }
11 int getRunEnd() const { return m_run2; }
12 int getVersion() const { return m_version; }
13
14 int getQCorr() const { return m_qcorr; }
15 int getQElec() const { return m_qelec; }
16 int getMisLable() const { return m_mislable; }
17
18 int getBrEast( unsigned int im ) const { return m_breast[im]; }
19 int getBrWest( unsigned int im ) const { return m_brwest[im]; }
20 int getEndcap( unsigned int im ) const { return m_endcap[im]; }
21 int getEtf( unsigned int im ) const { return m_etf[im]; }
22
23 int getRunFrom() const { return m_runFrom; }
24 int getRunTo() const { return m_runTo; }
25 int getEventFrom() const { return m_eventFrom; }
26 int getEventTo() const { return m_eventTo; }
27
28public:
29 void setRunBegin( int run1 ) { m_run1 = run1; }
30 void setRunEnd( int run2 ) { m_run2 = run2; }
31 void setVersion( int version ) { m_version = version; }
32
33 void setQCorr( int qcorr ) { m_qcorr = qcorr; }
34 void setQElec( int qelec ) { m_qelec = qelec; }
35 void setMisLable( int mis ) { m_mislable = mis; }
36
37 void setBrEast( unsigned int i, int id1 ) { m_breast[i] = id1; }
38 void setBrWest( unsigned int i, int id2 ) { m_brwest[i] = id2; }
39 void setEndcap( unsigned int i, int id3 ) { m_endcap[i] = id3; }
40 void setEtf( unsigned int i, int id4 ) { m_endcap[i] = id4; }
41
42 void setRunFrom( int runFrom ) { m_runFrom = runFrom; }
43 void setRunTo( int runTo ) { m_runTo = runTo; }
44 void setEventFrom( int evtFrom ) { m_eventFrom = evtFrom; }
45 void setEventTo( int evtTo ) { m_eventTo = evtTo; }
46
47private:
48 int m_run1, m_run2, m_version;
49 int m_qcorr, m_qelec, m_mislable;
50 int m_breast[5], m_brwest[5], m_endcap[500], m_etf[500];
51 int m_runFrom, m_runTo, m_eventFrom, m_eventTo;
52};
53
54#endif
int getBrEast(unsigned int im) const
int getEndcap(unsigned int im) const
void setEtf(unsigned int i, int id4)
void setBrEast(unsigned int i, int id1)
void setBrWest(unsigned int i, int id2)
int getBrWest(unsigned int im) const
void setEndcap(unsigned int i, int id3)