source: branches/MarsISDCBranchBasedOn17887/mreport/MReportTrigger.h@ 18108

Last change on this file since 18108 was 4973, checked in by stamerra, 20 years ago
*** empty log message ***
File size: 1.9 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 TString fTablename; // Name of the trigger table
25 TString fL1Tablename; // Name of the L1 trigger table
26 TString fL2Tablename; // Name of the L2 trigger table
27
28 MTriggerBit *fBit; //! container of the L2 prescaler rates
29 MTriggerIPR *fIPR; //! container of the IPR
30 MTriggerCell *fCell; //! container of the L1 cell trigger rates
31 MTriggerPrescFact *fPrescFactor; //! container of the L2 prescaling factors
32 MTriggerLiveTime *fLiveTime; //! container of the scaler live-deadtime
33
34 Bool_t SetupReading(MParList &plist);
35
36 Bool_t InterpreteIPR(TString &str);
37 Bool_t InterpreteCell(TString &str);
38 Bool_t InterpreteBit(TString &str);
39 Bool_t InterpretePrescFact(TString &str);
40 Bool_t InterpreteLiveTime(TString &str);
41 Bool_t InterpreteDummy(TString &str);
42 Bool_t InterpreteL1L2Table(TString &str);
43
44 Int_t InterpreteBody(TString &str, Int_t ver);
45
46 Bool_t InterpreteOldBody(TString &str);
47
48public:
49 MReportTrigger();
50
51 Float_t GetL2BeforePrescaler() const { return fL2BeforePrescaler; }
52 Float_t GetL2AfterPrescaler() const { return fL2AfterPrescaler; }
53 TString GetTablename() const { return fTablename; }
54 TString GetL1Tablename() const { return fL1Tablename; }
55 TString GetL2Tablename() const { return fL2Tablename; }
56
57 ClassDef(MReportTrigger, 2) // Class for TRIGGER-REPORT information
58 };
59
60#endif
Note: See TracBrowser for help on using the repository browser.