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