BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Calibration/CalibData/CalibData-00-01-17/CalibData/Tof/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"
5#include "CalibData/CalibModel.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