Line | |
---|
1 | #ifndef MARS_MHEvent
|
---|
2 | #define MARS_MHEvent
|
---|
3 |
|
---|
4 | #ifndef MARS_MH
|
---|
5 | #include "MH.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MHCamera;
|
---|
9 | class MRawEvtData;
|
---|
10 | class MRawRunHeader;
|
---|
11 | class MRawEvtHeader;
|
---|
12 |
|
---|
13 | class MMcEvt;
|
---|
14 | class MCerPhotEvt;
|
---|
15 | class MImgCleanStd;
|
---|
16 | class MCameraSignal;
|
---|
17 |
|
---|
18 | class MHEvent : public MH
|
---|
19 | {
|
---|
20 | public:
|
---|
21 | enum EventType_t {
|
---|
22 | kEvtSignal, kEvtPedestal, kEvtPedestalRMS,
|
---|
23 | kEvtRelativeSignal, kEvtCleaningLevels,
|
---|
24 | kEvtIdxMax, kEvtArrTime
|
---|
25 | };
|
---|
26 |
|
---|
27 | private:
|
---|
28 | MRawEvtData *fRawEvtData; //!
|
---|
29 | MRawRunHeader *fRawRunHeader; //!
|
---|
30 | MRawEvtHeader *fRawEvtHeader; //!
|
---|
31 |
|
---|
32 | MMcEvt *fMcEvt; //!
|
---|
33 | MCerPhotEvt *fCerPhotEvt; //!
|
---|
34 | MImgCleanStd *fImgCleanStd; //!
|
---|
35 | MCameraSignal *fCamSignal; //!
|
---|
36 |
|
---|
37 | MRawEvtData *fClone; //->
|
---|
38 |
|
---|
39 | MHCamera *fHist;
|
---|
40 |
|
---|
41 | EventType_t fType;
|
---|
42 |
|
---|
43 | TH1 *GetHistByName(const TString name) { return (TH1*)fHist; }
|
---|
44 |
|
---|
45 | Bool_t SetupFill(const MParList *plist);
|
---|
46 | Bool_t Fill(const MParContainer *par, const Stat_t weight=1);
|
---|
47 |
|
---|
48 | public:
|
---|
49 | MHEvent(EventType_t type=kEvtSignal);
|
---|
50 | ~MHEvent();
|
---|
51 |
|
---|
52 | MHCamera *GetHist() { return fHist; }
|
---|
53 |
|
---|
54 | void Draw(Option_t *o="");
|
---|
55 |
|
---|
56 | ClassDef(MHEvent, 1)
|
---|
57 | };
|
---|
58 |
|
---|
59 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.