BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
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
6
class
BTofSim
{
7
public
:
8
BTofSim
() {}
9
~BTofSim
() {}
10
11
public
:
12
double
getGain1
()
const
{
return
m_gain * TMath::Exp( m_ratio ); }
13
double
getGain2
()
const
{
return
m_gain; }
14
double
getAttenLength
()
const
{
return
m_length; }
15
16
public
:
17
void
setGain
(
double
gain ) { m_gain = gain; }
18
void
setRatio
(
double
ratio ) { m_ratio = ratio; }
19
void
setAttenLength
(
double
length ) { m_length = length; }
20
21
private
:
22
double
m_gain;
23
double
m_ratio;
24
double
m_length;
25
};
26
27
#endif
BTofSim::BTofSim
BTofSim()
Definition
BTofSim.h:8
BTofSim::getGain2
double getGain2() const
Definition
BTofSim.h:13
BTofSim::setAttenLength
void setAttenLength(double length)
Definition
BTofSim.h:19
BTofSim::getAttenLength
double getAttenLength() const
Definition
BTofSim.h:14
BTofSim::getGain1
double getGain1() const
Definition
BTofSim.h:12
BTofSim::setGain
void setGain(double gain)
Definition
BTofSim.h:17
BTofSim::setRatio
void setRatio(double ratio)
Definition
BTofSim.h:18
BTofSim::~BTofSim
~BTofSim()
Definition
BTofSim.h:9
8.0.0
BOSS_Source
Tof
TofSimSvc
src
BTofSim.h
Generated by
1.16.1