source: trunk/MagicSoft/Mars/mhist/MHTrigLvl0.h@ 4905

Last change on this file since 4905 was 2162, checked in by moralejo, 22 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MHTrigLvl0
2#define MARS_MHTrigLvl0
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8#ifndef MARS_MCerPhotEvt
9#include "MCerPhotEvt.h"
10#endif
11
12class TH1D;
13class MCamDisplay;
14class MRawEvtData;
15
16class MHTrigLvl0 : public MH
17{
18private:
19 MCerPhotEvt fSum; // storing the sum of triggers
20 Int_t fEntries; // number of entries in the histogram
21 MGeomCam *fCam; // the present geometry
22 MRawEvtData *fRawEvt; //! ADC info of the current event
23 MCamDisplay *fDispl; //! the camera display
24 Float_t fPixelThreshold; // Threshold (ADC counts a.p.) to consider
25 // a pixel as "fired".
26
27public:
28 MHTrigLvl0(const Float_t pixelthreshold = 0,
29 const char *name=NULL, const char *title=NULL);
30 ~MHTrigLvl0();
31
32 void Clear();
33
34 Bool_t SetupFill(const MParList *pList);
35 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
36 Bool_t Finalize();
37
38 const MCerPhotEvt &GetSum() const { return fSum; }
39
40 void Draw(Option_t *opt="");
41 void Paint(Option_t *option="");
42
43 ClassDef(MHTrigLvl0, 1) // Histogram to sum level 0 triggers in all pixels
44};
45
46#endif
Note: See TracBrowser for help on using the repository browser.