CGEM BOSS 6.6.5.h
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{
5 public:
8 public:
9 double getBarLowThres() const { return m_blth; }
10 double getBarHighThres() const { return m_bhth; }
11 double getEndLowThres() const { return m_elth; }
12 double getEndHighThres() const { return m_ehth; }
13 double getBarPMTGain() const { return m_bgain; }
14 double getEndPMTGain() const { return m_egain; }
15 double getBarConstant() const { return m_bconst; }
16 double getEndConstant() const { return m_econst; }
17 double getEndNoiseSwitch() const { return m_eswitch;}
18
19 public:
20 void setBarLowThres( double blth ) { m_blth = blth; }
21 void setBarHighThres( double bhth ) { m_bhth = bhth; }
22 void setEndLowThres( double elth ) { m_elth = elth; }
23 void setEndHighThres( double ehth ) { m_ehth = ehth; }
24 void setBarPMTGain( double bg ) { m_bgain = bg; }
25 void setEndPMTGain( double eg ) { m_egain = eg; }
26 void setBarConstant( double bc ) { m_bconst = bc; }
27 void setEndConstant( double ec ) { m_econst = ec; }
28 void setEndNoiseSwitch( double eswitch ) { m_eswitch = eswitch; }
29
30 private:
31 double m_blth;
32 double m_bhth;
33 double m_elth;
34 double m_ehth;
35 double m_bgain;
36 double m_egain;
37 double m_bconst;
38 double m_econst;
39 double m_eswitch;
40};
41
42#endif
void bg(int i, double p)
Definition betagamma.cxx:1
void setBarPMTGain(double bg)
Definition TofConst.h:24
void setBarConstant(double bc)
Definition TofConst.h:26
double getEndNoiseSwitch() const
Definition TofConst.h:17
double getEndConstant() const
Definition TofConst.h:16
TofConst()
Definition TofConst.h:6
void setEndConstant(double ec)
Definition TofConst.h:27
double getEndHighThres() const
Definition TofConst.h:12
void setBarLowThres(double blth)
Definition TofConst.h:20
double getBarConstant() const
Definition TofConst.h:15
double getEndPMTGain() const
Definition TofConst.h:14
double getBarPMTGain() const
Definition TofConst.h:13
void setEndHighThres(double ehth)
Definition TofConst.h:23
void setEndNoiseSwitch(double eswitch)
Definition TofConst.h:28
void setEndPMTGain(double eg)
Definition TofConst.h:25
double getBarLowThres() const
Definition TofConst.h:9
~TofConst()
Definition TofConst.h:7
void setEndLowThres(double elth)
Definition TofConst.h:22
double getEndLowThres() const
Definition TofConst.h:11
double getBarHighThres() const
Definition TofConst.h:10
void setBarHighThres(double bhth)
Definition TofConst.h:21