BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Calibration/CalibData/CalibData-00-01-18/CalibData/Tof/ETofSimBase.h
Go to the documentation of this file.
1#ifndef CalibData_ETofSimBase_h
2#define CalibData_ETofSimBase_h
3
4#include "GaudiKernel/DataObject.h"
5#include "CalibData/CalibModel.h"
6
7namespace CalibData {
9 public:
11 virtual ~ETofSimBase() {}
12
13 //set the Simulation data of Tof
14 void setGain( double gain ) { m_gain = gain; }
15 void setAttenLength( double length ) { m_length = length; }
16 void setNoiseSmear( double noisesmear ) { m_noisesmear = noisesmear; }
17
18 //get the Simulation Data of Tof
19 double getGain() const { return m_gain; }
20 double getAttenLength() const { return m_length; }
21 double getNoiseSmear() const { return m_noisesmear; }
22
23 private:
24 double m_gain;
25 double m_length;
26 double m_noisesmear;
27 };
28}
29
30#endif