Line | |
---|
1 | #ifndef MARS_MHCamEvent
|
---|
2 | #define MARS_MHCamEvent
|
---|
3 |
|
---|
4 | #ifndef MARS_MH
|
---|
5 | #include "MH.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MHCamera;
|
---|
9 | class MCamEvent;
|
---|
10 |
|
---|
11 | class MHCamEvent : 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 |
|
---|
21 | Bool_t SetupFill(const MParList *pList);
|
---|
22 | Bool_t Fill(const MParContainer *par, const Stat_t w=1);
|
---|
23 | Bool_t Finalize();
|
---|
24 |
|
---|
25 | public:
|
---|
26 | MHCamEvent(const char *name=NULL, const char *title=NULL);
|
---|
27 | ~MHCamEvent();
|
---|
28 |
|
---|
29 | void SetNameEvt(const TString name) { fNameEvt = name; }
|
---|
30 | void SetType(Int_t type) { fType = type; }
|
---|
31 |
|
---|
32 | TH1 *GetHistByName(const TString name="");
|
---|
33 |
|
---|
34 | void Draw(Option_t *o="");
|
---|
35 |
|
---|
36 | void PrintOutliers(Float_t s) const;
|
---|
37 |
|
---|
38 | ClassDef(MHCamEvent, 1) // Histogram to sum camera events
|
---|
39 | };
|
---|
40 |
|
---|
41 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.