source: branches/Mars_use_drstimefiles/mreport/MReportCC.h@ 18306

Last change on this file since 18306 was 14935, checked in by tbretz, 12 years ago
Add changes necessary to remove fits completely from namespace std in MARS.
File size: 1.8 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 MReportWeather : public MReport
14{
15protected:
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 Bool_t SetupReadingFits(fits &fits);
22
23public:
24 MReportWeather(const char *rep="WEATHER-REPORT") : MReport(rep, kFALSE)
25 {
26 fName = "MReportWeather";
27 fTitle = "Class for Weather data";
28 }
29
30 void Print(Option_t *opt) const;
31
32 ClassDef(MReportWeather, 1) // Class for Weather information
33};
34
35class MReportCC : public MReportWeather
36{
37private:
38 Float_t fUPSStatus; // arbitrary units (still not properly defined)
39 Float_t fDifRubGPS; // [us] Difference between the Rubidium clock time and the time provided by the GPS receiver
40
41 MCameraTH *fTH; //! Discriminator thresholds
42 MCameraTD *fTD; //! Discriminator delays
43 MCameraRecTemp *fRecTemp; //! Receiver Board temperatures
44
45 MReportRec *fRecRep; //! Pipe interpretation to MReportRec if necessary
46
47 // Internal
48 Bool_t SetupReading(MParList &plist);
49 Bool_t InterpreteCC(TString &str, Int_t ver);
50 Bool_t InterpreteSchedule(TString &str);
51 Bool_t InterpreteStatusM2(TString &str);
52
53 // MReport
54 Int_t InterpreteBody(TString &str, Int_t ver);
55
56public:
57 MReportCC();
58
59 Float_t GetHumidity() const { return fHumidity; }
60 Float_t GetTemperature() const { return fTemperature; }
61 Float_t GetWindSpeed() const { return fWindSpeed; }
62 Float_t GetSolarRadiation() const { return fSolarRadiation; }
63
64 ClassDef(MReportCC, 3) // Class for CC-REPORT information
65};
66
67#endif
Note: See TracBrowser for help on using the repository browser.