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 MMcTrig;
|
---|
15 | class MCerPhotEvt;
|
---|
16 | class MImgCleanStd;
|
---|
17 |
|
---|
18 | class MHEvent : public MH
|
---|
19 | {
|
---|
20 | public:
|
---|
21 | enum EventType_t {
|
---|
22 | kEvtSignalRaw, kEvtSignalDensity, kEvtPedestal,
|
---|
23 | kEvtPedestalRMS, kEvtRelativeSignal, kEvtCleaningLevels,
|
---|
24 | kEvtIdxMax, kEvtArrTime, kEvtTrigPix
|
---|
25 | };
|
---|
26 |
|
---|
27 | private:
|
---|
28 | MRawEvtData *fRawEvtData; //!
|
---|
29 | MRawRunHeader *fRawRunHeader; //!
|
---|
30 | MRawEvtHeader *fRawEvtHeader; //!
|
---|
31 |
|
---|
32 | MMcEvt *fMcEvt; //!
|
---|
33 | MMcTrig *fMcTrig; //!
|
---|
34 | MCerPhotEvt *fCerPhotEvt; //!
|
---|
35 | MImgCleanStd *fImgCleanStd; //!
|
---|
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=kEvtSignalRaw);
|
---|
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.