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 | class MCameraSignal;
|
---|
18 |
|
---|
19 | class MHEvent : public MH
|
---|
20 | {
|
---|
21 | public:
|
---|
22 | enum EventType_t {
|
---|
23 | kEvtSignalRaw, kEvtSignalDensity, kEvtPedestal,
|
---|
24 | kEvtPedestalRMS, kEvtRelativeSignal, kEvtCleaningLevels,
|
---|
25 | kEvtIdxMax, kEvtArrTime, kEvtTrigPix
|
---|
26 | };
|
---|
27 |
|
---|
28 | private:
|
---|
29 | MRawEvtData *fRawEvtData; //!
|
---|
30 | MRawRunHeader *fRawRunHeader; //!
|
---|
31 | MRawEvtHeader *fRawEvtHeader; //!
|
---|
32 |
|
---|
33 | MMcEvt *fMcEvt; //!
|
---|
34 | MMcTrig *fMcTrig; //!
|
---|
35 | MCerPhotEvt *fCerPhotEvt; //!
|
---|
36 | MImgCleanStd *fImgCleanStd; //!
|
---|
37 | MCameraSignal *fCamSignal; //!
|
---|
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 |
|
---|
58 | ClassDef(MHEvent, 1)
|
---|
59 | };
|
---|
60 |
|
---|
61 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.