source: releases/Mars.2014.05.26/mhist/MHTriggerLvl0.h@ 19594

Last change on this file since 19594 was 9153, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 957 bytes
Line 
1#ifndef MARS_MHTriggerLvl0
2#define MARS_MHTriggerLvl0
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8class MHCamera;
9class MCamEvent;
10
11class MHTriggerLvl0 : public MH
12{
13private:
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 Int_t Fill(const MParContainer *par, const Stat_t w=1);
24 Bool_t Finalize();
25
26public:
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="") const;
35
36 void Draw(Option_t * ="");
37
38 void PrintOutliers(Float_t s) const;
39
40 ClassDef(MHTriggerLvl0, 1) // Histogram to count how often a pixel is above threshold
41};
42
43#endif
Note: See TracBrowser for help on using the repository browser.