source: trunk/MagicSoft/Mars/mreport/MReportTrigger.h@ 4933

Last change on this file since 4933 was 4921, checked in by stamerra, 20 years ago
*** empty log message ***
File size: 1.4 KB
Line 
1#ifndef MARS_MReportTrigger
2#define MARS_MReportTrigger
3
4#ifndef MARS_MReport
5#include "MReport.h"
6#endif
7
8#ifndef ROOT_TArrayL
9#include <TArrayL.h>
10#endif
11
12class MTriggerIPR;
13class MTriggerCell;
14class MTriggerBit;
15class MTriggerPrescFact;
16class MTriggerLiveTime;
17
18class MReportTrigger : public MReport
19{
20private:
21
22 Float_t fL2BeforePrescaler; //! L2 trigger rate before prescaler
23 Float_t fL2AfterPrescaler; //! L2 trigger rate after prescaler
24
25 MTriggerBit *fBit; //! container of the L2 prescaler rates
26 MTriggerIPR *fIPR; //! container of the IPR
27 MTriggerCell *fCell; //! container of the L1 cell trigger rates
28 MTriggerPrescFact *fPrescFactor; //! container of the L2 prescaling factors
29 MTriggerLiveTime *fLiveTime; //! container of the scaler live-deadtime
30
31 Bool_t SetupReading(MParList &plist);
32
33 Bool_t InterpreteIPR(TString &str);
34 Bool_t InterpreteCell(TString &str);
35 Bool_t InterpreteBit(TString &str);
36 Bool_t InterpretePrescFact(TString &str);
37 Bool_t InterpreteLiveTime(TString &str);
38 Bool_t InterpreteDummy(TString &str);
39 Bool_t InterpreteL1L2Table(TString &str);
40
41 Int_t InterpreteBody(TString &str, Int_t ver);
42
43 Bool_t InterpreteOldBody(TString &str);
44
45public:
46 MReportTrigger();
47
48 Float_t GetL2BeforePrescaler() const { return fL2BeforePrescaler; }
49 Float_t GetL2AfterPrescaler() const { return fL2AfterPrescaler; }
50
51 ClassDef(MReportTrigger, 1) // Class for TRIGGER-REPORT information
52 };
53
54#endif
Note: See TracBrowser for help on using the repository browser.