ATLAS Offline Software
TileLaserControl.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 /*modified 27/5/2008 transfer PLC methods in a new class*/
8 /*renato.febbraro@cern.ch*/
9 
10 #ifndef TILELASERCONTROL_H
11 #define TILELASERCONTROL_H
12 
13 
14 #include <string>
15 #include <time.h>
16 
17 
19 
20  public:
21 
23  : m_pumpDiodeTemp(0.0)
24  , m_timeLastMeasP(0)
25  , m_diodeBoxTemp(0.0)
26  , m_timeLastMeasD(0)
27  , m_gasFlux(0.0)
28  , m_timeLastMeasF(0)
29  , m_humidity(0.0)
30  , m_timeLastMeasH(0)
31  , m_lastPedMeas(0)
32  , m_lastAlphaMeas(0) { }
33 
34 
35  double getPumpDiodeTemp() const { return m_pumpDiodeTemp; }
36  int getTimeLastMeasP() const { return m_timeLastMeasP; }
37  double getDiodeBoxTemp() const { return m_diodeBoxTemp; }
38  int getTimeLastMeasD() const { return m_timeLastMeasD; }
39  double getGasFlux() const { return m_gasFlux; }
40  int getTimeLastMeasF() const { return m_timeLastMeasF; }
41  double getHumidity() const { return m_humidity; }
42  int getTimeLastMeasH() const { return m_timeLastMeasH; }
43  time_t getLastPedMeas() const { return m_lastPedMeas; }
44  time_t getLastAlphaMeas() const { return m_lastAlphaMeas; }
45 
46  void setControl(const double pumpDiodeTemp,
47  const int timeLastMeasP,
48  const double diodeBoxTemp,
49  const int timeLastMeasD,
50  const double gasFlux,
51  const int timeLastMeasF,
52  const double humidity,
53  const int timeLastMeasH,
54  const time_t lastPedMeas,
55  const time_t lastAlphaMeas ) {
56  m_pumpDiodeTemp = pumpDiodeTemp;
57  m_timeLastMeasP = timeLastMeasP;
58  m_diodeBoxTemp = diodeBoxTemp;
59  m_timeLastMeasD = timeLastMeasD;
60  m_gasFlux = gasFlux;
61  m_timeLastMeasF = timeLastMeasF;
62  m_humidity = humidity;
63  m_timeLastMeasH = timeLastMeasH;
64  m_lastPedMeas = lastPedMeas;
65  m_lastAlphaMeas = lastAlphaMeas;
66  }
67 
68 
71  operator std::string() const;
72 
73 
74 private:
75 
80  double m_gasFlux;
82  double m_humidity;
84  time_t m_lastPedMeas;
86 
87  };
88 
89 #endif
TileLaserControl::TileLaserControl
TileLaserControl()
Definition: TileLaserControl.h:22
TileLaserControl::getLastAlphaMeas
time_t getLastAlphaMeas() const
Definition: TileLaserControl.h:44
TileLaserControl::m_timeLastMeasF
int m_timeLastMeasF
Definition: TileLaserControl.h:81
TileLaserControl::getTimeLastMeasD
int getTimeLastMeasD() const
Definition: TileLaserControl.h:38
TileLaserControl::getDiodeBoxTemp
double getDiodeBoxTemp() const
Definition: TileLaserControl.h:37
TileLaserControl
Definition: TileLaserControl.h:18
TileLaserControl::getLastPedMeas
time_t getLastPedMeas() const
Definition: TileLaserControl.h:43
TileLaserControl::getPumpDiodeTemp
double getPumpDiodeTemp() const
Definition: TileLaserControl.h:35
TileLaserControl::getGasFlux
double getGasFlux() const
Definition: TileLaserControl.h:39
TileLaserControl::setControl
void setControl(const double pumpDiodeTemp, const int timeLastMeasP, const double diodeBoxTemp, const int timeLastMeasD, const double gasFlux, const int timeLastMeasF, const double humidity, const int timeLastMeasH, const time_t lastPedMeas, const time_t lastAlphaMeas)
Definition: TileLaserControl.h:46
TileLaserControl::m_timeLastMeasP
int m_timeLastMeasP
Definition: TileLaserControl.h:77
TileLaserControl::getHumidity
double getHumidity() const
Definition: TileLaserControl.h:41
TileLaserControl::m_lastPedMeas
time_t m_lastPedMeas
Definition: TileLaserControl.h:84
TileLaserControl::getTimeLastMeasP
int getTimeLastMeasP() const
Definition: TileLaserControl.h:36
TileLaserControl::m_lastAlphaMeas
time_t m_lastAlphaMeas
Definition: TileLaserControl.h:85
TileLaserControl::getTimeLastMeasF
int getTimeLastMeasF() const
Definition: TileLaserControl.h:40
TileLaserControl::m_pumpDiodeTemp
double m_pumpDiodeTemp
Definition: TileLaserControl.h:76
TileLaserControl::m_gasFlux
double m_gasFlux
Definition: TileLaserControl.h:80
TileLaserControl::m_diodeBoxTemp
double m_diodeBoxTemp
Definition: TileLaserControl.h:78
TileLaserControl::getTimeLastMeasH
int getTimeLastMeasH() const
Definition: TileLaserControl.h:42
TileLaserControl::m_timeLastMeasD
int m_timeLastMeasD
Definition: TileLaserControl.h:79
TileLaserControl::m_timeLastMeasH
int m_timeLastMeasH
Definition: TileLaserControl.h:83
TileLaserControl::m_humidity
double m_humidity
Definition: TileLaserControl.h:82