source: trunk/Mars/mreport/MReportRates.h@ 19344

Last change on this file since 19344 was 14935, checked in by tbretz, 12 years ago
Add changes necessary to remove fits completely from namespace std in MARS.
File size: 1.4 KB
Line 
1#ifndef MARS_MReportRates
2#define MARS_MReportRates
3
4#ifndef MARS_MReport
5#include "MReport.h"
6#endif
7
8class MReportRates : public MReport
9{
10private:
11 ULong64_t fTimeStamp; // [us] Time in microseconds, since trigger enabled or disabled
12 ULong64_t fOnTimeCounter; // [us] Effective on-time, i.e. FTM processes triggers (e.g. No FAD busy)
13 UInt_t fTriggerCounter; // Counter of camera trigers (events) since trigger enabled or disabled"
14 Float_t fTriggerRate; // [Hz] Trigger rate"
15 Float_t fBoardRate[40]; // [Hz] Board rates
16 Float_t fPatchRate[160]; // [Hz] Patch rates
17 Float_t fElapsedTime; // [s] Time elapsed since previous report
18 Float_t fElapsedOnTime; // [s] On-time elapsed since previous report
19
20 Bool_t SetupReadingFits(fits &fits);
21 Int_t InterpreteFits(const fits &fits);
22
23public:
24 MReportRates();
25
26 ULong64_t GetTimeStamp() const { return fTimeStamp; }
27 ULong64_t GetOnTimeCounter() const { return fOnTimeCounter; }
28 UInt_t GetTriggerCounter() const { return fTriggerCounter; }
29 Float_t GetTriggerRate() const { return fTriggerRate; }
30 Float_t GetElapsedTime() const { return fElapsedTime; }
31 Float_t GetElapsedOnTime() const { return fElapsedOnTime; }
32
33 void Print(Option_t *o="") const;
34
35 ClassDef(MReportRates, 1) // Class for FTM_CONTROL/TRIGGER_RATES
36};
37
38#endif
Note: See TracBrowser for help on using the repository browser.