ATLAS Offline Software
TileLaserPmt.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 TILELASERPMT_H
10 #define TILELASERPMT_H
11 
12 
13 #include <string>
14 
15 
16 class TileLaserPmt {
17 
18  public:
19 
21  : m_PMADC(0)
22  , m_TDC(0)
23  , m_pmPedestal(0.0)
24  , m_pmSigmaPedestal(0.0) { }
25 
26 
27  int getPMADC() const { return m_PMADC; }
28  int getTDC() const { return m_TDC; }
29  double getPMPedestal() const { return m_pmPedestal; }
30  double getPMSigmaPedestal() const { return m_pmSigmaPedestal; }
31 
32  void setPmt(const int pmAdc,
33  const int tdc,
34  const double pmPedestal,
35  const double pmSigmaPedestal) {
36  m_PMADC = pmAdc;
37  m_TDC = tdc;
38  m_pmPedestal = pmPedestal;
39  m_pmSigmaPedestal = pmSigmaPedestal;
40  }
41 
42 
45  operator std::string() const;
46 
47 
48 private:
49 
50  int m_PMADC;
51  int m_TDC;
52  double m_pmPedestal;
54 
55 };
56 
57 #endif
TileLaserPmt::m_pmPedestal
double m_pmPedestal
Definition: TileLaserPmt.h:52
TileLaserPmt
Definition: TileLaserPmt.h:16
TileLaserPmt::getPMPedestal
double getPMPedestal() const
Definition: TileLaserPmt.h:29
TileLaserPmt::m_PMADC
int m_PMADC
Definition: TileLaserPmt.h:50
TileLaserPmt::setPmt
void setPmt(const int pmAdc, const int tdc, const double pmPedestal, const double pmSigmaPedestal)
Definition: TileLaserPmt.h:32
TileLaserPmt::getPMSigmaPedestal
double getPMSigmaPedestal() const
Definition: TileLaserPmt.h:30
TileLaserPmt::TileLaserPmt
TileLaserPmt()
Definition: TileLaserPmt.h:20
TileLaserPmt::getPMADC
int getPMADC() const
Definition: TileLaserPmt.h:27
TileLaserPmt::m_pmSigmaPedestal
double m_pmSigmaPedestal
Definition: TileLaserPmt.h:53
TileLaserPmt::m_TDC
int m_TDC
Definition: TileLaserPmt.h:51
TileLaserPmt::getTDC
int getTDC() const
Definition: TileLaserPmt.h:28