BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
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"
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
void setGain(double gain)
Definition: ETofSimBase.h:14
void setAttenLength(double length)
Definition: ETofSimBase.h:15
double getAttenLength() const
Definition: ETofSimBase.h:20
double getNoiseSmear() const
Definition: ETofSimBase.h:21
void setNoiseSmear(double noisesmear)
Definition: ETofSimBase.h:16
double getGain() const
Definition: ETofSimBase.h:19