source: trunk/Mars/mcamera/MCameraCooling.h@ 10075

Last change on this file since 10075 was 2593, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 2.4 KB
Line 
1#ifndef MARS_MCameraCooling
2#define MARS_MCameraCooling
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class MCameraCooling : public MParContainer
9{
10 friend class MReportCamera;
11private:
12 Byte_t fStatus; // CaCo Monitored cooling status: 0-9, Cam.COOLING_state
13
14 Bool_t fStatusPressureHi; // 0=ok, 1=Obstruct
15 Bool_t fStatusPressureLo; // 0=ok, 1=leakage
16 Bool_t fStatusPump; // 0=off, 1=on
17 Bool_t fStatusRefrigrerator; // 0=off, 1=on
18 Bool_t fStatusValve; // 0=recirculate, 1=new
19 Bool_t fStatusResistor; // 0=off, 1=on
20 Bool_t fStatusFans; // 0=off, 1=on
21
22 Float_t fTempCenter; // [deg C] Temperature at the camera center
23 Float_t fTempWall; // [deg C] Temperature at the camera wall
24 Float_t fTempOptLink; // [deg C] Temperature at the optical link
25 Float_t fTempWater; // [deg C] Temperature of the water in the water tank
26
27 Byte_t fHumWall; // [%] Relative humidity at camera wall
28 Byte_t fHumCenter; // [%] Relative humidity camera center
29
30public:
31 MCameraCooling()
32 {
33 fName = "MCameraCooling";
34 fTitle = "Container storing information about the Camera cooling system";
35 }
36
37 Byte_t GetStatus() const { return fStatus; }
38
39 Bool_t GetStatusPressureHi() const { return fStatusPressureHi; }
40 Bool_t GetStatusPressureLo() const { return fStatusPressureLo; }
41 Bool_t GetStatusPump() const { return fStatusPump; }
42 Bool_t GetStatusRefrigrerator() const { return fStatusRefrigrerator; }
43 Bool_t GetStatusValve() const { return fStatusValve; }
44 Bool_t GetStatusResistor() const { return fStatusResistor; }
45 Bool_t GetStatusFans() const { return fStatusFans; }
46
47 Float_t GetTempCenter() const { return fTempCenter; }
48 Float_t GetTempWall() const { return fTempWall; }
49 Float_t GetTempOptLink() const { return fTempOptLink; }
50 Float_t GetTempWater() const { return fTempWater; }
51
52 Byte_t GetHumWall() const { return fHumWall; }
53 Byte_t GetHumCenter() const { return fHumCenter; }
54
55 ClassDef(MCameraCooling, 1) // Container storing information about the Camera cooling
56};
57
58#endif
Note: See TracBrowser for help on using the repository browser.