BTofSim Class Reference

#include <BTofSim.h>

List of all members.

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)

Private Attributes

double m_gain
double m_ratio
double m_length


Detailed Description

Definition at line 6 of file BTofSim.h.


Constructor & Destructor Documentation

BTofSim::BTofSim (  )  [inline]

Definition at line 8 of file BTofSim.h.

00008 {}

BTofSim::~BTofSim (  )  [inline]

Definition at line 9 of file BTofSim.h.

00009 {}


Member Function Documentation

double BTofSim::getAttenLength (  )  const [inline]

Definition at line 13 of file BTofSim.h.

References m_length.

00013 { return m_length;   }

double BTofSim::getGain1 (  )  const [inline]

Definition at line 11 of file BTofSim.h.

References m_gain, and m_ratio.

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

double BTofSim::getGain2 (  )  const [inline]

Definition at line 12 of file BTofSim.h.

References m_gain.

00012 { return m_gain;     }

void BTofSim::setAttenLength ( double  length  )  [inline]

Definition at line 18 of file BTofSim.h.

References m_length.

00018 { m_length = length; }

void BTofSim::setGain ( double  gain  )  [inline]

Definition at line 16 of file BTofSim.h.

References m_gain.

00016 { m_gain = gain;     }

void BTofSim::setRatio ( double  ratio  )  [inline]

Definition at line 17 of file BTofSim.h.

References m_ratio.

00017 { m_ratio = ratio;   }


Member Data Documentation

double BTofSim::m_gain [private]

Definition at line 21 of file BTofSim.h.

Referenced by getGain1(), getGain2(), and setGain().

double BTofSim::m_length [private]

Definition at line 23 of file BTofSim.h.

Referenced by getAttenLength(), and setAttenLength().

double BTofSim::m_ratio [private]

Definition at line 22 of file BTofSim.h.

Referenced by getGain1(), and setRatio().


Generated on Tue Nov 29 23:17:55 2016 for BOSS_7.0.2 by  doxygen 1.4.7