Line | |
---|
1 | #ifndef MARS_MHCerPhotEvt
|
---|
2 | #define MARS_MHCerPhotEvt
|
---|
3 |
|
---|
4 | #ifndef MARS_MH
|
---|
5 | #include "MH.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef MARS_MCerPhotEvt
|
---|
9 | #include "MCerPhotEvt.h"
|
---|
10 | #endif
|
---|
11 |
|
---|
12 | class TH1D;
|
---|
13 | class MCamDisplay;
|
---|
14 |
|
---|
15 | class MHCerPhotEvt : public MH
|
---|
16 | {
|
---|
17 | private:
|
---|
18 | MCerPhotEvt fSum; // storing the sum
|
---|
19 | Int_t fEntries; // number of entries in the histogram
|
---|
20 | MGeomCam *fCam; // the present geometry
|
---|
21 | MCerPhotEvt *fEvt; //! the current event
|
---|
22 | MCamDisplay *fDispl; //! the camera display
|
---|
23 |
|
---|
24 | public:
|
---|
25 | MHCerPhotEvt(const char *name=NULL, const char *title=NULL);
|
---|
26 | ~MHCerPhotEvt();
|
---|
27 |
|
---|
28 | void Clear(const Option_t *o="");
|
---|
29 |
|
---|
30 | Bool_t SetupFill(const MParList *pList);
|
---|
31 | Bool_t Fill(const MParContainer *par, const Stat_t w=1);
|
---|
32 | Bool_t Finalize();
|
---|
33 |
|
---|
34 | TH1 *GetHistByName(const TString name) { return NULL; }
|
---|
35 |
|
---|
36 | const MCerPhotEvt &GetSum() const { return fSum; }
|
---|
37 |
|
---|
38 | void Draw(Option_t *opt="");
|
---|
39 | void Paint(Option_t *option="");
|
---|
40 |
|
---|
41 | ClassDef(MHCerPhotEvt, 1) // Histogram to sum camera events
|
---|
42 | };
|
---|
43 |
|
---|
44 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.