ATLAS Offline Software
TileLaserDiode.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /*author Renato Febbraro*/
6 /*date 3/7/2007*/
7 /*renato.febbraro@cern.ch*/
8 
9 #ifndef TILELASERDIODE_H
10 #define TILELASERDIODE_H
11 
12 
13 #include <string>
14 
15 
17 
18  public:
19 
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) { }
28 
29 
30  int getDiodeADC() const { return m_diodeADC; }
31  double getDiodePedestal() const { return m_diodePedestal; }
32  double getDiodeSigmaPedestal() const { return m_diodeSigmaPedestal; }
33  double getAlpha() const { return m_alpha; }
34  double getSigmaAlpha() const { return m_sigmaAlpha; }
35  double getPedestalAlpha() const { return m_pedestalAlpha; }
36  double getSigmaPedAlpha() const { return m_sigmaPedAlpha; }
37 
38 
39  void setDiode(const int diodeAdc,
40  const double diodePedestal,
41  const double diodeSigmaPedestal,
42  const double alpha,
43  const double sigmaAlpha,
44  const double pedestalAlpha,
45  const double sigmaPedAlpha) {
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  }
54 
55 
58  operator std::string() const;
59 
60 
61 private:
62 
66  double m_alpha;
67  double m_sigmaAlpha;
70 
71 };
72 
73 #endif
TileLaserDiode::m_sigmaAlpha
double m_sigmaAlpha
Definition: TileLaserDiode.h:67
TileLaserDiode
Definition: TileLaserDiode.h:16
TileLaserDiode::getDiodeSigmaPedestal
double getDiodeSigmaPedestal() const
Definition: TileLaserDiode.h:32
TileLaserDiode::m_pedestalAlpha
double m_pedestalAlpha
Definition: TileLaserDiode.h:68
TileLaserDiode::getAlpha
double getAlpha() const
Definition: TileLaserDiode.h:33
TileLaserDiode::getSigmaAlpha
double getSigmaAlpha() const
Definition: TileLaserDiode.h:34
TileLaserDiode::getSigmaPedAlpha
double getSigmaPedAlpha() const
Definition: TileLaserDiode.h:36
TileLaserDiode::getPedestalAlpha
double getPedestalAlpha() const
Definition: TileLaserDiode.h:35
TileLaserDiode::setDiode
void setDiode(const int diodeAdc, const double diodePedestal, const double diodeSigmaPedestal, const double alpha, const double sigmaAlpha, const double pedestalAlpha, const double sigmaPedAlpha)
Definition: TileLaserDiode.h:39
TileLaserDiode::m_diodePedestal
double m_diodePedestal
Definition: TileLaserDiode.h:64
TileLaserDiode::m_diodeSigmaPedestal
double m_diodeSigmaPedestal
Definition: TileLaserDiode.h:65
TileLaserDiode::getDiodePedestal
double getDiodePedestal() const
Definition: TileLaserDiode.h:31
TileLaserDiode::TileLaserDiode
TileLaserDiode()
Definition: TileLaserDiode.h:20
TileLaserDiode::m_sigmaPedAlpha
double m_sigmaPedAlpha
Definition: TileLaserDiode.h:69
TileLaserDiode::getDiodeADC
int getDiodeADC() const
Definition: TileLaserDiode.h:30
TileLaserDiode::m_alpha
double m_alpha
Definition: TileLaserDiode.h:66
TileLaserDiode::m_diodeADC
int m_diodeADC
Definition: TileLaserDiode.h:63