BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
BTofSimBase.h
Go to the documentation of this file.
1#ifndef CalibData_BTofSimBase_h
2#define CalibData_BTofSimBase_h
3
4#include "GaudiKernel/DataObject.h"
6#include "TMath.h"
7
8namespace CalibData {
10 public:
12 virtual ~BTofSimBase() {}
13
14 //set the Simulation data of Tof
15 void setGain( double gain ) { m_gain = gain; }
16 void setRatio( double ratio ) { m_ratio = ratio; }
17 void setAttenLength( double length ) { m_length = length; }
18
19 //get the Simulation Data of Tof
20 double getGain() const { return m_gain; }
21 double getRatio() const { return m_ratio; }
22 double getAttenLength() const { return m_length; }
23
24 private:
25 double m_gain;
26 double m_ratio;
27 double m_length;
28 };
29}
30
31#endif
double getRatio() const
Definition BTofSimBase.h:21
void setRatio(double ratio)
Definition BTofSimBase.h:16
double getAttenLength() const
Definition BTofSimBase.h:22
void setGain(double gain)
Definition BTofSimBase.h:15
double getGain() const
Definition BTofSimBase.h:20
void setAttenLength(double length)
Definition BTofSimBase.h:17