Line | |
---|
1 | #ifndef MARS_MReportTrigger
|
---|
2 | #define MARS_MReportTrigger
|
---|
3 |
|
---|
4 | #ifndef MARS_MReport
|
---|
5 | #include "MReport.h"
|
---|
6 | #endif
|
---|
7 | #ifndef MARS_MCamEvent
|
---|
8 | #include "MCamEvent.h"
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | #ifndef ROOT_TArrayF
|
---|
12 | #include <TArrayF.h>
|
---|
13 | #endif
|
---|
14 |
|
---|
15 | class MReportTrigger : public MReport, public MCamEvent
|
---|
16 | {
|
---|
17 | private:
|
---|
18 | Float_t fL2BeforePrescaler; // L2 trigger rate before prescaler
|
---|
19 | Float_t fL2AfterPrescaler; // L2 trigger rate after prescaler
|
---|
20 |
|
---|
21 | TArrayF fPrescalerRates; //[Hz] L2 prescaler rates
|
---|
22 | //TArrayF fRates; //[Hz] currently undefined
|
---|
23 |
|
---|
24 | Int_t InterpreteBody(TString &str, Int_t ver);
|
---|
25 |
|
---|
26 | public:
|
---|
27 | MReportTrigger();
|
---|
28 |
|
---|
29 | Float_t GetL2BeforePrescaler() const { return fL2BeforePrescaler; }
|
---|
30 | Float_t GetL2AfterPrescaler() const { return fL2AfterPrescaler; }
|
---|
31 |
|
---|
32 | Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const
|
---|
33 | {
|
---|
34 | if(idx>18)
|
---|
35 | return kFALSE;
|
---|
36 |
|
---|
37 | val = fPrescalerRates[idx];
|
---|
38 | return kTRUE;
|
---|
39 | }
|
---|
40 |
|
---|
41 | void DrawPixelContent(Int_t num) const
|
---|
42 | {
|
---|
43 | }
|
---|
44 |
|
---|
45 | ClassDef(MReportTrigger, 1) // Class for TRIGGER-REPORT information
|
---|
46 | };
|
---|
47 |
|
---|
48 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.