BOSS
7.1.1
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
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
BTofSim
Definition
BTofSim.h:6
BTofSim::BTofSim
BTofSim()
Definition
BTofSim.h:8
BTofSim::getGain2
double getGain2() const
Definition
BTofSim.h:12
BTofSim::setAttenLength
void setAttenLength(double length)
Definition
BTofSim.h:18
BTofSim::getAttenLength
double getAttenLength() const
Definition
BTofSim.h:13
BTofSim::getGain1
double getGain1() const
Definition
BTofSim.h:11
BTofSim::setGain
void setGain(double gain)
Definition
BTofSim.h:16
BTofSim::setRatio
void setRatio(double ratio)
Definition
BTofSim.h:17
BTofSim::~BTofSim
~BTofSim()
Definition
BTofSim.h:9
7.1.1
Tof
TofSimSvc
TofSimSvc-00-01-00
TofSimSvc
BTofSim.h
Generated by
1.12.0