source: branches/MarsMoreSimulationTruth/mcamera/MCameraPowerSupply.h@ 19796

Last change on this file since 19796 was 3666, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.6 KB
Line 
1#ifndef MARS_MCameraPowerSupply
2#define MARS_MCameraPowerSupply
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class MCameraPowerSupply : public MParContainer
9{
10 friend class MReportCamera;
11private:
12 Float_t fVoltagePos5V; // [V] voltage_pos5 (+5V)
13 Float_t fVoltagePos12V; // [V] voltage_pos12 (+12V)
14 Float_t fVoltageNeg12V; // [V] voltage_neg12 (-12V)
15 Float_t fVoltageOptLinkPos12V; // [V] volatge_opt_link_pos12 (+12V)
16
17 Float_t fCurrentPos5V; // [A] current_pos5 (+5V)
18 Float_t fCurrentPos12V; // [A] current_pos12 (+12V)
19 Float_t fCurrentNeg12V; // [A] current_neg12 (-12V)
20 Float_t fCurrentOptLinkPos12V; // [A] current_opt_link_pos12 (+12V)
21
22public:
23 MCameraPowerSupply()
24 {
25 fName = "MCameraPowerSupply";
26 fTitle = "Container storing information about the Camera power supply";
27 }
28
29 Float_t GetVoltagePos5V() const { return fVoltagePos5V; }
30 Float_t GetVoltagePos12V() const { return fVoltagePos12V; }
31 Float_t GetVoltageNeg12V() const { return fVoltageNeg12V; }
32 Float_t GetVoltageOptLinkPos12V() const { return fVoltageOptLinkPos12V; }
33
34 Float_t GetCurrentPos5V() const { return fCurrentPos5V; }
35 Float_t GetCurrentPos12V() const { return fCurrentPos12V; }
36 Float_t GetCurrentNeg12V() const { return fCurrentNeg12V; }
37 Float_t GetCurrentOptLinkPos12V() const { return fCurrentOptLinkPos12V; }
38
39 ClassDef(MCameraPowerSupply, 1) // Container storing information about the Camera power supply
40};
41
42#endif
Note: See TracBrowser for help on using the repository browser.