source: trunk/MagicSoft/Mars/mreport/MReportCC.h@ 7432

Last change on this file since 7432 was 7430, checked in by tbretz, 19 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 MCameraTH;
9class MCameraTD;
10class MCameraRecTemp;
11
12class MReportCC : public MReport
13{
14private:
15 Float_t fHumidity; // [%]
16 Float_t fTemperature; // [deg] celsius
17 Float_t fWindSpeed; // [km/h]
18 Float_t fSolarRadiation; // [W/m^2] IR-Radiation
19
20 Float_t fUPSStatus; // arbitrary units (still not properly defined)
21 Float_t fDifRubGPS; // [us] Difference between the Rubidium clock time and the time provided by the GPS receiver
22
23 MCameraTH *fTH; //! Discriminator thresholds
24 MCameraTD *fTD; //! Discriminator delays
25 MCameraRecTemp *fRecTemp; //! Receiver Board temperatures
26
27 // Internal
28 Bool_t SetupReading(MParList &plist);
29 Bool_t CheckTag(TString &str, const char *tag) const;
30
31 Bool_t InterpreteCC(TString &str, Int_t ver);
32 Bool_t InterpreteTH(TString &str);
33 Bool_t InterpreteTD(TString &str, Int_t ver);
34 Bool_t InterpreteRecTemp(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.