ATLAS Offline Software
TileLaserPLC.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 27/5/2008*/
7 /*renato.febbraro@cern.ch*/
8 
9 #ifndef TILELASERPLC
10 #define TILELASERPLC
11 
12 
13 #include <string>
14 
15 
17 
18  public:
19 
21  : m_alphaPos(0)
22  , m_LVdiodes(0.0)
23  , m_HVpmts(0.0)
24  , m_shutter(0)
25  , m_interlock(0)
26  , m_alarm(0) { }
27 
28 
29  int getAlphaPos() const { return m_alphaPos; }
30  double getLVdiodes() const { return m_LVdiodes; }
31  double getHVpmts() const { return m_HVpmts; }
32  int getShutter() const { return m_shutter; }
33  int getInterlock() const { return m_interlock; }
34  int getAlarm() const { return m_alarm; }
35 
36  void setPLC(const int alphaPos,
37  const double LVdiodes,
38  const double HVpmts,
39  const int shutter,
40  const int interlock,
41  const int alarm)
42  {
43  m_alphaPos = alphaPos;
44  m_LVdiodes = LVdiodes;
45  m_HVpmts = HVpmts;
46  m_shutter = shutter;
47  m_interlock = interlock;
48  m_alarm = alarm;
49  }
50 
51 
54  operator std::string() const;
55 
56 
57 private:
58 
60  double m_LVdiodes;
61  double m_HVpmts;
62  int m_shutter;
64  int m_alarm;
65 
66 };
67 
68 
69 #endif
TileLaserPLC::m_alphaPos
int m_alphaPos
Definition: TileLaserPLC.h:59
TileLaserPLC::m_LVdiodes
double m_LVdiodes
Definition: TileLaserPLC.h:60
TileLaserPLC::getAlphaPos
int getAlphaPos() const
Definition: TileLaserPLC.h:29
TileLaserPLC::m_shutter
int m_shutter
Definition: TileLaserPLC.h:62
TileLaserPLC::getHVpmts
double getHVpmts() const
Definition: TileLaserPLC.h:31
TileLaserPLC::setPLC
void setPLC(const int alphaPos, const double LVdiodes, const double HVpmts, const int shutter, const int interlock, const int alarm)
Definition: TileLaserPLC.h:36
TileLaserPLC
Definition: TileLaserPLC.h:16
TileLaserPLC::getInterlock
int getInterlock() const
Definition: TileLaserPLC.h:33
TileLaserPLC::getAlarm
int getAlarm() const
Definition: TileLaserPLC.h:34
TileLaserPLC::getLVdiodes
double getLVdiodes() const
Definition: TileLaserPLC.h:30
TileLaserPLC::getShutter
int getShutter() const
Definition: TileLaserPLC.h:32
TileLaserPLC::m_interlock
int m_interlock
Definition: TileLaserPLC.h:63
TileLaserPLC::m_alarm
int m_alarm
Definition: TileLaserPLC.h:64
TileLaserPLC::m_HVpmts
double m_HVpmts
Definition: TileLaserPLC.h:61
TileLaserPLC::TileLaserPLC
TileLaserPLC()
Definition: TileLaserPLC.h:20