| 1 | #ifndef MARS_MReportCamera
|
|---|
| 2 | #define MARS_MReportCamera
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MReport
|
|---|
| 5 | #include "MReport.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MCameraCooling;
|
|---|
| 9 | class MCameraLids;
|
|---|
| 10 | class MCameraHV;
|
|---|
| 11 | class MCameraLV;
|
|---|
| 12 | class MCameraAUX;
|
|---|
| 13 | class MCameraCalibration;
|
|---|
| 14 | class MCameraActiveLoad;
|
|---|
| 15 | class MCameraCentralPix;
|
|---|
| 16 |
|
|---|
| 17 | class MReportCamera : public MReport
|
|---|
| 18 | {
|
|---|
| 19 | private:
|
|---|
| 20 |
|
|---|
| 21 | static const Int_t gkActiveLoadControlVersNum; //!
|
|---|
| 22 |
|
|---|
| 23 | Byte_t fStatus; // CaCo monitored status of the sentinel (0-9), Sentinel_state
|
|---|
| 24 | Byte_t fStatusDC; // CaCo monitored status of the DC currents (0-9), Cam.DC_state
|
|---|
| 25 |
|
|---|
| 26 | MCameraCooling *fCooling; //!
|
|---|
| 27 | MCameraLids *fLids; //!
|
|---|
| 28 | MCameraAUX *fAUX; //!
|
|---|
| 29 | MCameraHV *fHV; //!
|
|---|
| 30 | MCameraLV *fLV; //!
|
|---|
| 31 | MCameraActiveLoad *fActiveLoad; //!
|
|---|
| 32 | MCameraCalibration *fCalibration; //!
|
|---|
| 33 | MCameraCentralPix *fCentralPix; //!
|
|---|
| 34 |
|
|---|
| 35 | Bool_t SetupReading(MParList &plist);
|
|---|
| 36 | Bool_t CheckTag(TString &str, const char *tag) const;
|
|---|
| 37 |
|
|---|
| 38 | Bool_t InterpreteCamera(TString &str, Int_t ver);
|
|---|
| 39 | Bool_t InterpreteDC(TString &str);
|
|---|
| 40 | Bool_t InterpreteHV(TString &str);
|
|---|
| 41 | Bool_t InterpreteCOOL(TString &str);
|
|---|
| 42 | Bool_t InterpreteLID(TString &str);
|
|---|
| 43 | Bool_t InterpreteHVPS(TString &str);
|
|---|
| 44 | Bool_t InterpreteLV(TString &str);
|
|---|
| 45 | Bool_t InterpreteAUX(TString &str);
|
|---|
| 46 | Bool_t InterpreteCAL(TString &str);
|
|---|
| 47 | Bool_t InterpreteHOT(TString &str);
|
|---|
| 48 | Bool_t InterpreteActiveLoad(TString &str);
|
|---|
| 49 | Bool_t InterpreteCentralPix(TString &str);
|
|---|
| 50 | Bool_t InterpreteCHTEMP(TString &str);
|
|---|
| 51 | Bool_t InterpreteHVFIL(TString &str);
|
|---|
| 52 |
|
|---|
| 53 | Int_t InterpreteBody(TString &str, Int_t ver);
|
|---|
| 54 |
|
|---|
| 55 | public:
|
|---|
| 56 | MReportCamera();
|
|---|
| 57 |
|
|---|
| 58 | Byte_t GetStatus() const { return fStatus; }
|
|---|
| 59 | Byte_t GetStatusDC() const { return fStatusDC; }
|
|---|
| 60 |
|
|---|
| 61 | ClassDef(MReportCamera, 1) // Class for CAMERA-REPORT information
|
|---|
| 62 | };
|
|---|
| 63 |
|
|---|
| 64 | #endif
|
|---|