source: trunk/Mars/mreport/MReportCC.h@ 12666

Last change on this file since 12666 was 9385, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 1.5 KB
Line 
1#ifndef MARS_MReportCC
2#define MARS_MReportCC
3
4#ifndef MARS_MReport
5#include "MReport.h"
6#endif
7
8class MReportRec;
9class MCameraTH;
10class MCameraTD;
11class MCameraRecTemp;
12
13class MReportCC : public MReport
14{
15private:
16 Float_t fHumidity; // [%]
17 Float_t fTemperature; // [deg] celsius
18 Float_t fWindSpeed; // [km/h]
19 Float_t fSolarRadiation; // [W/m^2] IR-Radiation
20
21 Float_t fUPSStatus; // arbitrary units (still not properly defined)
22 Float_t fDifRubGPS; // [us] Difference between the Rubidium clock time and the time provided by the GPS receiver
23
24 MCameraTH *fTH; //! Discriminator thresholds
25 MCameraTD *fTD; //! Discriminator delays
26 MCameraRecTemp *fRecTemp; //! Receiver Board temperatures
27
28 MReportRec *fRecRep; //! Pipe interpretation to MReportRec if necessary
29
30 // Internal
31 Bool_t SetupReading(MParList &plist);
32 Bool_t InterpreteCC(TString &str, Int_t ver);
33 Bool_t InterpreteSchedule(TString &str);
34 Bool_t InterpreteStatusM2(TString &str);
35
36 // MReport
37 Int_t InterpreteBody(TString &str, Int_t ver);
38
39public:
40 MReportCC();
41
42 Float_t GetHumidity() const { return fHumidity; }
43 Float_t GetTemperature() const { return fTemperature; }
44 Float_t GetWindSpeed() const { return fWindSpeed; }
45 Float_t GetSolarRadiation() const { return fSolarRadiation; }
46
47 void Print(Option_t *opt) const;
48
49 ClassDef(MReportCC, 2) // Class for CC-REPORT information
50};
51
52#endif
Note: See TracBrowser for help on using the repository browser.