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"
5
#include "
CalibData/CalibModel.h
"
6
#include "TMath.h"
7
8
namespace
CalibData
{
9
class
BTofSimBase
{
10
public
:
11
BTofSimBase
(){};
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
CalibModel.h
CalibData::BTofSimBase
Definition
BTofSimBase.h:9
CalibData::BTofSimBase::~BTofSimBase
virtual ~BTofSimBase()
Definition
BTofSimBase.h:12
CalibData::BTofSimBase::getRatio
double getRatio() const
Definition
BTofSimBase.h:21
CalibData::BTofSimBase::setRatio
void setRatio(double ratio)
Definition
BTofSimBase.h:16
CalibData::BTofSimBase::getAttenLength
double getAttenLength() const
Definition
BTofSimBase.h:22
CalibData::BTofSimBase::setGain
void setGain(double gain)
Definition
BTofSimBase.h:15
CalibData::BTofSimBase::getGain
double getGain() const
Definition
BTofSimBase.h:20
CalibData::BTofSimBase::setAttenLength
void setAttenLength(double length)
Definition
BTofSimBase.h:17
CalibData::BTofSimBase::BTofSimBase
BTofSimBase()
Definition
BTofSimBase.h:11
CalibData
Definition
Calibration/CalibData/CalibData-00-02-02/CalibData/CalibBase.h:27
7.1.2
Calibration
CalibData
CalibData-00-02-02
CalibData
Tof
BTofSimBase.h
Generated by
1.12.0