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