BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
BTofSim Class Reference

#include <BTofSim.h>

Public Member Functions

 BTofSim ()
 ~BTofSim ()
double getGain1 () const
double getGain2 () const
double getAttenLength () const
void setGain (double gain)
void setRatio (double ratio)
void setAttenLength (double length)

Detailed Description

Definition at line 6 of file BTofSim.h.

Constructor & Destructor Documentation

◆ BTofSim()

BTofSim::BTofSim ( )
inline

Definition at line 8 of file BTofSim.h.

8{}

◆ ~BTofSim()

BTofSim::~BTofSim ( )
inline

Definition at line 9 of file BTofSim.h.

9{}

Member Function Documentation

◆ getAttenLength()

double BTofSim::getAttenLength ( ) const
inline

Definition at line 14 of file BTofSim.h.

14{ return m_length; }

◆ getGain1()

double BTofSim::getGain1 ( ) const
inline

Definition at line 12 of file BTofSim.h.

12{ return m_gain * TMath::Exp( m_ratio ); }

◆ getGain2()

double BTofSim::getGain2 ( ) const
inline

Definition at line 13 of file BTofSim.h.

13{ return m_gain; }

◆ setAttenLength()

void BTofSim::setAttenLength ( double length)
inline

Definition at line 19 of file BTofSim.h.

19{ m_length = length; }

◆ setGain()

void BTofSim::setGain ( double gain)
inline

Definition at line 17 of file BTofSim.h.

17{ m_gain = gain; }

◆ setRatio()

void BTofSim::setRatio ( double ratio)
inline

Definition at line 18 of file BTofSim.h.

18{ m_ratio = ratio; }

The documentation for this class was generated from the following file: