source: trunk/MagicSoft/Mars/mtemp/mpisa/classes/MReportTrigger.h@ 4671

Last change on this file since 4671 was 4196, checked in by stamerra, 21 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 *fPixel; //! 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);
42
43public:
44 MReportTrigger();
45
46 Float_t GetL2BeforePrescaler() const { return fL2BeforePrescaler; }
47 Float_t GetL2AfterPrescaler() const { return fL2AfterPrescaler; }
48
49 ClassDef(MReportTrigger, 1) // Class for TRIGGER-REPORT information
50 };
51
52#endif
Note: See TracBrowser for help on using the repository browser.