ATLAS Offline Software
Loading...
Searching...
No Matches
TileLaserDiode Class Reference

#include <TileLaserDiode.h>

Collaboration diagram for TileLaserDiode:

Public Member Functions

 TileLaserDiode ()
int getDiodeADC () const
double getDiodePedestal () const
double getDiodeSigmaPedestal () const
double getAlpha () const
double getSigmaAlpha () const
double getPedestalAlpha () const
double getSigmaPedAlpha () const
void setDiode (const int diodeAdc, const double diodePedestal, const double diodeSigmaPedestal, const double alpha, const double sigmaAlpha, const double pedestalAlpha, const double sigmaPedAlpha)
 operator std::string () const
 Convertion operator to a std::string, can be used in a cast operation : (std::string) TileLaserDiode.

Private Attributes

int m_diodeADC
double m_diodePedestal
double m_diodeSigmaPedestal
double m_alpha
double m_sigmaAlpha
double m_pedestalAlpha
double m_sigmaPedAlpha

Detailed Description

Definition at line 16 of file TileLaserDiode.h.

Constructor & Destructor Documentation

◆ TileLaserDiode()

TileLaserDiode::TileLaserDiode ( )
inline

Definition at line 20 of file TileLaserDiode.h.

21 : m_diodeADC(0)
22 , m_diodePedestal(0.0)
24 , m_alpha(0.0)
25 , m_sigmaAlpha(0.0)
26 , m_pedestalAlpha(0.0)
27 , m_sigmaPedAlpha(0.0) { }
double m_diodeSigmaPedestal

Member Function Documentation

◆ getAlpha()

double TileLaserDiode::getAlpha ( ) const
inline

Definition at line 33 of file TileLaserDiode.h.

33{ return m_alpha; }

◆ getDiodeADC()

int TileLaserDiode::getDiodeADC ( ) const
inline

Definition at line 30 of file TileLaserDiode.h.

30{ return m_diodeADC; }

◆ getDiodePedestal()

double TileLaserDiode::getDiodePedestal ( ) const
inline

Definition at line 31 of file TileLaserDiode.h.

31{ return m_diodePedestal; }

◆ getDiodeSigmaPedestal()

double TileLaserDiode::getDiodeSigmaPedestal ( ) const
inline

Definition at line 32 of file TileLaserDiode.h.

32{ return m_diodeSigmaPedestal; }

◆ getPedestalAlpha()

double TileLaserDiode::getPedestalAlpha ( ) const
inline

Definition at line 35 of file TileLaserDiode.h.

35{ return m_pedestalAlpha; }

◆ getSigmaAlpha()

double TileLaserDiode::getSigmaAlpha ( ) const
inline

Definition at line 34 of file TileLaserDiode.h.

34{ return m_sigmaAlpha; }

◆ getSigmaPedAlpha()

double TileLaserDiode::getSigmaPedAlpha ( ) const
inline

Definition at line 36 of file TileLaserDiode.h.

36{ return m_sigmaPedAlpha; }

◆ operator std::string()

TileLaserDiode::operator std::string ( ) const

Convertion operator to a std::string, can be used in a cast operation : (std::string) TileLaserDiode.

Definition at line 18 of file TileLaserDiode.cxx.

19{
20 std::ostringstream text;
21 text << "TileLaserDiode: ";
22 text << "ADC: " << m_diodeADC << " ";
23 text << "ped: " << m_diodePedestal << " ";
24 text << "sigPed: " << m_diodeSigmaPedestal << " ";
25 text << "alpha: " << m_alpha << " ";
26 text << "sigAlpha: " << m_sigmaAlpha << " ";
27 text << "pedAlpha: " << m_pedestalAlpha << " ";
28 text << "sigPedAlpha: " << m_sigmaPedAlpha;
29 return text.str();
30}

◆ setDiode()

void TileLaserDiode::setDiode ( const int diodeAdc,
const double diodePedestal,
const double diodeSigmaPedestal,
const double alpha,
const double sigmaAlpha,
const double pedestalAlpha,
const double sigmaPedAlpha )
inline

Definition at line 39 of file TileLaserDiode.h.

45 {
46 m_diodeADC = diodeAdc;
47 m_diodePedestal = diodePedestal;
48 m_diodeSigmaPedestal = diodeSigmaPedestal;
49 m_alpha = alpha;
50 m_sigmaAlpha = sigmaAlpha;
51 m_pedestalAlpha = pedestalAlpha;
52 m_sigmaPedAlpha = sigmaPedAlpha;
53 }

Member Data Documentation

◆ m_alpha

double TileLaserDiode::m_alpha
private

Definition at line 66 of file TileLaserDiode.h.

◆ m_diodeADC

int TileLaserDiode::m_diodeADC
private

Definition at line 63 of file TileLaserDiode.h.

◆ m_diodePedestal

double TileLaserDiode::m_diodePedestal
private

Definition at line 64 of file TileLaserDiode.h.

◆ m_diodeSigmaPedestal

double TileLaserDiode::m_diodeSigmaPedestal
private

Definition at line 65 of file TileLaserDiode.h.

◆ m_pedestalAlpha

double TileLaserDiode::m_pedestalAlpha
private

Definition at line 68 of file TileLaserDiode.h.

◆ m_sigmaAlpha

double TileLaserDiode::m_sigmaAlpha
private

Definition at line 67 of file TileLaserDiode.h.

◆ m_sigmaPedAlpha

double TileLaserDiode::m_sigmaPedAlpha
private

Definition at line 69 of file TileLaserDiode.h.


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