| 1 | #ifndef MARS_MCameraCalibration
 | 
|---|
| 2 | #define MARS_MCameraCalibration
 | 
|---|
| 3 | 
 | 
|---|
| 4 | #ifndef MARS_MParContainer
 | 
|---|
| 5 | #include "MParContainer.h"
 | 
|---|
| 6 | #endif
 | 
|---|
| 7 | 
 | 
|---|
| 8 | class MCameraCalibration : public MParContainer
 | 
|---|
| 9 | {
 | 
|---|
| 10 |     friend class MReportCamera;
 | 
|---|
| 11 | private:
 | 
|---|
| 12 |     Byte_t fStatus;           // CaCo monitored calibration state: o=off, 1=on, CamCalib_state
 | 
|---|
| 13 |     Byte_t fStatusCANbus;     // CaCo monitored CANbus state: o=off, 1=on, Cal.CanBus_state
 | 
|---|
| 14 |     Byte_t fStatusIO;         // CaCo monitored I/O state: o=off, 1=on, Cal.IO_state
 | 
|---|
| 15 |     Byte_t fStatusLoVoltage;  // CaCo monitored LV PS state: o=off, 1=on, Cal.LV_state
 | 
|---|
| 16 | 
 | 
|---|
| 17 |     Bool_t fRequestHiVoltage; // Requested status: o=off, 1=on, bcalib_HV_Off/On
 | 
|---|
| 18 |     Bool_t fRequestLoVoltage; // Requested status: o=off, 1=on, bcalib_LV_Off/On
 | 
|---|
| 19 |     Bool_t fRequestContLight; // Requested status: o=off, 1=on, bcalib_ContinuousLight_Off/On
 | 
|---|
| 20 |     Bool_t fRequestPinDiode;  // Requested status: o=off, 1=on, bcalib_PinDiode_Off/On
 | 
|---|
| 21 | 
 | 
|---|
| 22 | public:
 | 
|---|
| 23 |     MCameraCalibration()
 | 
|---|
| 24 |     {
 | 
|---|
| 25 |         fName  = "MCameraCalibration";
 | 
|---|
| 26 |         fTitle = "Container storing information about the Camera calibration system";
 | 
|---|
| 27 |     }
 | 
|---|
| 28 | 
 | 
|---|
| 29 |     Byte_t GetStatus() const           { return fStatus; }
 | 
|---|
| 30 |     Byte_t GetStatusCANbus() const     { return fStatusCANbus; }
 | 
|---|
| 31 |     Byte_t GetStatusIO() const         { return fStatusIO; }
 | 
|---|
| 32 |     Byte_t GetStatusLoVoltage() const  { return fStatusLoVoltage; }
 | 
|---|
| 33 | 
 | 
|---|
| 34 |     Bool_t GetRequestHiVoltage() const { return fRequestHiVoltage; }
 | 
|---|
| 35 |     Bool_t GetRequestLoVoltage() const { return fRequestLoVoltage; }
 | 
|---|
| 36 |     Bool_t GetRequestContLight() const { return fRequestContLight; }
 | 
|---|
| 37 |     Bool_t GetRequestPinDiode() const  { return fRequestPinDiode; }
 | 
|---|
| 38 | 
 | 
|---|
| 39 |     ClassDef(MCameraCalibration, 1) // Container storing information about the Camera calibration system
 | 
|---|
| 40 | };
 | 
|---|
| 41 | 
 | 
|---|
| 42 | #endif
 | 
|---|