BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/TofSimSvc/TofSimSvc/BTofSim.h
Go to the documentation of this file.
1#ifndef BTOF_SIM_H
2#define BTOF_SIM_H
3
4#include "TMath.h"
5
6class BTofSim{
7 public:
8 BTofSim() {}
10 public:
11 double getGain1() const { return m_gain*TMath::Exp(m_ratio); }
12 double getGain2() const { return m_gain; }
13 double getAttenLength() const { return m_length; }
14
15 public:
16 void setGain( double gain ) { m_gain = gain; }
17 void setRatio( double ratio ) { m_ratio = ratio; }
18 void setAttenLength( double length ) { m_length = length; }
19
20 private:
21 double m_gain;
22 double m_ratio;
23 double m_length;
24
25};
26
27#endif