ATLAS Offline Software
Loading...
Searching...
No Matches
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)
25 , m_diodeBoxTemp(0.0)
27 , m_gasFlux(0.0)
29 , m_humidity(0.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
74private:
75
80 double m_gasFlux;
82 double m_humidity;
86
87 };
88
89#endif
double getDiodeBoxTemp() const
int getTimeLastMeasD() const
double getHumidity() const
time_t getLastAlphaMeas() const
time_t getLastPedMeas() const
double getGasFlux() const
int getTimeLastMeasH() const
double getPumpDiodeTemp() const
int getTimeLastMeasF() const
int getTimeLastMeasP() const
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)