source: tags/Mars-V0.9.4.1/mhist/MHEvent.h

Last change on this file was 7180, checked in by tbretz, 19 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MARS_MHEvent
2#define MARS_MHEvent
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8class MHCamera;
9class MRawEvtData;
10class MRawRunHeader;
11class MRawEvtHeader;
12
13class MTime;
14class MMcEvt;
15class MMcTrig;
16class MSignalCam;
17class MImgCleanStd;
18
19class MHEvent : public MH
20{
21public:
22 enum EventType_t {
23 kEvtSignalRaw, kEvtSignalDensity,
24 kEvtPedestal, kEvtPedestalRMS,
25 kEvtPedPhot, kEvtPedPhotRMS,
26 kEvtCleaningLevels, kEvtCleaningData,
27 kEvtIdxMax, kEvtArrTime, kEvtTrigPix, kEvtIslandIndex
28 };
29
30private:
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
52public:
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.