source: trunk/MagicSoft/Mars/mcamera/MCameraHV.h@ 2903

Last change on this file since 2903 was 2870, checked in by reyes, 21 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MARS_MCameraHV
2#define MARS_MCameraHV
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8#ifndef ROOT_TArrayS
9#include <TArrayS.h>
10#endif
11
12class MCameraHV : public MParContainer
13{
14 friend class MReportCamera;
15private:
16 Byte_t fStatus; // CaCo monitored status of the High Voltage [0-9], Cam.HV.PS_state
17 Bool_t fStatusRamping; // CaCo monitored status of ramping the HV, Cam.HV_state
18
19 Short_t fVoltageA; // [V] Measured voltage of power supply A, hvps1
20 Short_t fVoltageB; // [V] Measured voltage of power supply B, hvps2
21
22 Byte_t fCurrentA; // [mA] Measured current of power supply A, curr1
23 Byte_t fCurrentB; // [mA] Measured current of power supply B, curr2
24
25 TArrayS fHV; // [V] Measured high Voltages for all PMTs
26public:
27 MCameraHV() : fHV(577)
28 {
29 fName = "MCameraHV";
30 fTitle = "Container storing information about the Camera HV";
31 }
32
33 Byte_t GetStatus() const { return fStatus; }
34 Bool_t GetStatusRamping() const { return fStatusRamping; }
35 Short_t GetVoltageA() const { return fVoltageA; }
36 Short_t GetVoltageB() const { return fVoltageB; }
37 Byte_t GetCurrentA() const { return fCurrentA; }
38 Byte_t GetCurrentB() const { return fCurrentB; }
39
40 ClassDef(MCameraHV, 1) // Container storing information about the Camera HV
41};
42
43#endif
Note: See TracBrowser for help on using the repository browser.