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,
|
---|
23 | kEvtPedestal, kEvtPedestalRMS,
|
---|
24 | kEvtPedPhot, kEvtPedPhotRMS,
|
---|
25 | kEvtCleaningLevels, kEvtCleaningData,
|
---|
26 | kEvtIdxMax, kEvtArrTime, kEvtTrigPix, kEvtIslandIndex
|
---|
27 | };
|
---|
28 |
|
---|
29 | private:
|
---|
30 | MRawEvtData *fRawEvtData; //!
|
---|
31 | MRawRunHeader *fRawRunHeader; //!
|
---|
32 | MRawEvtHeader *fRawEvtHeader; //!
|
---|
33 |
|
---|
34 | MMcEvt *fMcEvt; //!
|
---|
35 | MMcTrig *fMcTrig; //!
|
---|
36 | MCerPhotEvt *fCerPhotEvt; //!
|
---|
37 | MImgCleanStd *fImgCleanStd; //!
|
---|
38 |
|
---|
39 | MRawEvtData *fClone; //->
|
---|
40 |
|
---|
41 | MHCamera *fHist;
|
---|
42 |
|
---|
43 | EventType_t fType;
|
---|
44 |
|
---|
45 | TH1 *GetHistByName(const TString name) { return (TH1*)fHist; }
|
---|
46 |
|
---|
47 | Bool_t SetupFill(const MParList *plist);
|
---|
48 | Bool_t Fill(const MParContainer *par, const Stat_t weight=1);
|
---|
49 |
|
---|
50 | public:
|
---|
51 | MHEvent(EventType_t type=kEvtSignalRaw);
|
---|
52 | ~MHEvent();
|
---|
53 |
|
---|
54 | MHCamera *GetHist() { return fHist; }
|
---|
55 |
|
---|
56 | void Draw(Option_t *o="");
|
---|
57 | void Paint(Option_t *o="");
|
---|
58 |
|
---|
59 | ClassDef(MHEvent, 1)
|
---|
60 | };
|
---|
61 |
|
---|
62 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.