Line | |
---|
1 | #ifndef MARS_MHTriggerLvl0
|
---|
2 | #define MARS_MHTriggerLvl0
|
---|
3 |
|
---|
4 | #ifndef MARS_MH
|
---|
5 | #include "MH.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MHCamera;
|
---|
9 | class MCamEvent;
|
---|
10 |
|
---|
11 | class MHTriggerLvl0 : public MH
|
---|
12 | {
|
---|
13 | private:
|
---|
14 | MHCamera *fSum; // storing the sum
|
---|
15 | MCamEvent *fEvt; //! the current event
|
---|
16 |
|
---|
17 | TString fNameEvt;
|
---|
18 |
|
---|
19 | Int_t fType;
|
---|
20 | Double_t fThreshold;
|
---|
21 |
|
---|
22 | Bool_t SetupFill(const MParList *pList);
|
---|
23 | Bool_t Fill(const MParContainer *par, const Stat_t w=1);
|
---|
24 | Bool_t Finalize();
|
---|
25 |
|
---|
26 | public:
|
---|
27 | MHTriggerLvl0(Double_t t=0, const char *name=NULL, const char *title=NULL);
|
---|
28 | ~MHTriggerLvl0();
|
---|
29 |
|
---|
30 | void SetNameEvt(const TString name) { fNameEvt = name; }
|
---|
31 | void SetType(Int_t type) { fType = type; }
|
---|
32 | void SetThreshold(Double_t t) { fThreshold = t; }
|
---|
33 |
|
---|
34 | TH1 *GetHistByName(const TString name="");
|
---|
35 |
|
---|
36 | void Draw(Option_t * ="");
|
---|
37 |
|
---|
38 | ClassDef(MHTriggerLvl0, 1) // Histogram to sum level 0 triggers in all pixels
|
---|
39 | };
|
---|
40 |
|
---|
41 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.