source: trunk/Mars/mreport/MReportTemperatures.h@ 13233

Last change on this file since 13233 was 12861, checked in by tbretz, 13 years ago
Added containers for FSC temperatures and humidity.
File size: 1.2 KB
Line 
1#ifndef MARS_MReportTemperatures
2#define MARS_MReportTemperatures
3
4#ifndef MARS_MReport
5#include "MReport.h"
6#endif
7
8class MReportTemperatures : public MReport
9{
10private:
11 Float_t fTimeStamp; // [s] FSC uptime
12 Float_t fTempSensors[31]; // [deg C] Sensor compartment temperatures
13 Float_t fTempCrate[8]; // [deg C] Temperatures crate 0 (back/front), 1 (back/front), 2 (back/front), 3 (back/front)"
14 Float_t fTempPS[8]; // [deg C] Temperatures power supplies crate 0 (back/front), 1 (back/front), 2 (back/front), 3 (back/front)
15 Float_t fTempAux[4]; // [deg C] Auxiliary power supply temperatures FTM (top/bottom), FSC (top/bottom)
16 Float_t fTempBack[4]; // [deg C] FTM backpanel temperatures FTM (top/bottom), FSC (top/bottom)
17 Float_t fTempEthernet[4]; // [deg C] Ethernet switches temperatures top (front/back), bottom (front/back)
18
19 Bool_t SetupReadingFits(std::fits &fits);
20 Int_t InterpreteFits(const std::fits &fits);
21
22public:
23 MReportTemperatures();
24
25 Float_t GetTimeStamp() const { return fTimeStamp; }
26 Float_t GetTempMean() const;
27 Float_t GetTempMedian() const;
28
29 void Print(Option_t *o="") const;
30
31 ClassDef(MReportTemperatures, 1) // Class for FTM_CONTROL/TRIGGER_RATES
32};
33
34#endif
Note: See TracBrowser for help on using the repository browser.