BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
TofSimConstBase.h
Go to the documentation of this file.
1#ifndef CalibData_TofSimConstBase_h
2#define CalibData_TofSimConstBase_h
3
4#include "GaudiKernel/DataObject.h"
6#include <vector>
7
8namespace CalibData {
10 public:
12 virtual ~TofSimConstBase() {}
13
14 //set the Simulation data of Tof
15 double getBarLowThres() const { return m_blth; }
16 double getBarHighThres() const { return m_bhth; }
17 double getEndLowThres() const { return m_elth; }
18 double getEndHighThres() const { return m_ehth; }
19 double getBarPMTGain() const { return m_bgain; }
20 double getEndPMTGain() const { return m_egain; }
21 double getBarConstant() const { return m_bconst; }
22 double getEndConstant() const { return m_econst; }
23 double getEndNoiseSwitch() const { return m_eswitch; }
24
25 // get the Simulation data of Tof
26 void setBarLowThres( const double blth ) { m_blth = blth; }
27 void setBarHighThres( const double bhth ) { m_bhth = bhth; }
28 void setEndLowThres( const double elth ) { m_elth = elth; }
29 void setEndHighThres( const double ehth ) { m_ehth = ehth; }
30 void setBarPMTGain( const double bg ) { m_bgain = bg; }
31 void setEndPMTGain( const double eg ) { m_egain = eg; }
32 void setBarConstant( const double bc ) { m_bconst = bc; }
33 void setEndConstant( const double ec ) { m_econst = ec; }
34 void setEndNoiseSwitch( const double eswitch ) { m_eswitch = eswitch; }
35
36 private:
37 double m_blth;
38 double m_bhth;
39 double m_elth;
40 double m_ehth;
41 double m_bgain;
42 double m_egain;
43 double m_bconst;
44 double m_econst;
45 double m_eswitch;
46 };
47}
48
49#endif
void setBarConstant(const double bc)
void setBarHighThres(const double bhth)
void setEndNoiseSwitch(const double eswitch)
void setEndHighThres(const double ehth)
void setEndConstant(const double ec)
void setBarPMTGain(const double bg)
void setEndPMTGain(const double eg)
void setEndLowThres(const double elth)
void setBarLowThres(const double blth)
float bg