BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TofConst.h
Go to the documentation of this file.
1#ifndef TOF_SIM_CONST_H
2#define TOF_SIM_CONST_H
3
4class TofConst {
5public:
8
9public:
10 double getBarLowThres() const { return m_blth; }
11 double getBarHighThres() const { return m_bhth; }
12 double getEndLowThres() const { return m_elth; }
13 double getEndHighThres() const { return m_ehth; }
14 double getBarPMTGain() const { return m_bgain; }
15 double getEndPMTGain() const { return m_egain; }
16 double getBarConstant() const { return m_bconst; }
17 double getEndConstant() const { return m_econst; }
18 double getEndNoiseSwitch() const { return m_eswitch; }
19
20public:
21 void setBarLowThres( double blth ) { m_blth = blth; }
22 void setBarHighThres( double bhth ) { m_bhth = bhth; }
23 void setEndLowThres( double elth ) { m_elth = elth; }
24 void setEndHighThres( double ehth ) { m_ehth = ehth; }
25 void setBarPMTGain( double bg ) { m_bgain = bg; }
26 void setEndPMTGain( double eg ) { m_egain = eg; }
27 void setBarConstant( double bc ) { m_bconst = bc; }
28 void setEndConstant( double ec ) { m_econst = ec; }
29 void setEndNoiseSwitch( double eswitch ) { m_eswitch = eswitch; }
30
31private:
32 double m_blth;
33 double m_bhth;
34 double m_elth;
35 double m_ehth;
36 double m_bgain;
37 double m_egain;
38 double m_bconst;
39 double m_econst;
40 double m_eswitch;
41};
42
43#endif
void setBarPMTGain(double bg)
Definition TofConst.h:25
void setBarConstant(double bc)
Definition TofConst.h:27
double getEndNoiseSwitch() const
Definition TofConst.h:18
double getEndConstant() const
Definition TofConst.h:17
TofConst()
Definition TofConst.h:6
void setEndConstant(double ec)
Definition TofConst.h:28
double getEndHighThres() const
Definition TofConst.h:13
void setBarLowThres(double blth)
Definition TofConst.h:21
double getBarConstant() const
Definition TofConst.h:16
double getEndPMTGain() const
Definition TofConst.h:15
double getBarPMTGain() const
Definition TofConst.h:14
void setEndHighThres(double ehth)
Definition TofConst.h:24
void setEndNoiseSwitch(double eswitch)
Definition TofConst.h:29
void setEndPMTGain(double eg)
Definition TofConst.h:26
double getBarLowThres() const
Definition TofConst.h:10
~TofConst()
Definition TofConst.h:7
void setEndLowThres(double elth)
Definition TofConst.h:23
double getEndLowThres() const
Definition TofConst.h:12
double getBarHighThres() const
Definition TofConst.h:11
void setBarHighThres(double bhth)
Definition TofConst.h:22