#ifndef MoIO_MrClassDef_H #define MoIO_MrClassDef_H #include #include #include #include "TROOT.h" #include "TObject.h" #include "TSDMonitoring.h" class TSDRawMonitoring { // // This class contains the raw monitoring data // public: TSDRawMonitoring(); virtual ~TSDRawMonitoring() {}; void ResetMonitoring(); void Dump(); void DumpHeader(); void DumpMembers(); std::string GetMonitName(EMonitor); std::string GetMonitPrettyName(EMonitor); std::vector fListOfMembers; // Vector containing the list of the members Bool_t fIsRawMonitoring; // kTRUE if monitoring block has been filled UInt_t fSecond; // LS GPS time corresponding to the monitoring block building time UInt_t fItemNb; UInt_t fSummary; // Power Supply UShort_t f3V; // 3.3V Power supply UShort_t f_3V; // -3.3V Power supply UShort_t f5V; // 5V Power supply UShort_t f12V; // 12V Power supply UShort_t f24V; // 24V Power supply // Photomultiplier UShort_t fPMV[3]; // PM voltage UShort_t fPMI[3]; // PM current UShort_t fPMT[3]; // PM temperature // Electronic box UShort_t fElectT; // Electronic box temperature // Batteries UShort_t fBatteryT[2]; // Battery temperatures UShort_t fBatteryV[2]; // Battery voltage ([0] for battery center and [1] for total, so [1]-[0] for the other battery voltage) // Solar Panel UShort_t fSolarPanelV; // Solar panel voltage UShort_t fSolarPanelI; // Solar panel current // Water UShort_t fWaterLevel; // Level of the water UShort_t fWaterT; // Water temperature // Others UShort_t fCurrentLoad; // Current consumed by the LS UShort_t fADCBaseline; // Baseline of all of the ADC measurements UShort_t fDAC4Voltage; // Voltage of the Led Flasher UShort_t f3VAnalogPower; // 3.3V analog power UShort_t f12VMultiplexer; // 12V before the multiplexer UShort_t f12VRadio; // 12V going to radio // DAC UShort_t fDACPM[3]; // DAC controling the PM high voltage UShort_t fDACLedVoltage; // LED flasher voltage ClassDef(TSDRawMonitoring,6) }; #endif