source: trunk/MagicSoft/Mars/mhist/MHEvent.h@ 2591

Last change on this file since 2591 was 2488, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.2 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 MMcEvt;
14class MCerPhotEvt;
15class MPedestalCam;
16class MImgCleanStd;
17class MCameraSignal;
18
19class MHEvent : public MH
20{
21public:
22 enum EventType_t {
23 kEvtSignal, kEvtPedestal, kEvtPedestalRMS,
24 kEvtRelativeSignal, kEvtCleaningLevels
25 };
26
27private:
28 MRawEvtData *fRawEvtData; //!
29 MRawRunHeader *fRawRunHeader; //!
30 MRawEvtHeader *fRawEvtHeader; //!
31
32 MMcEvt *fMcEvt; //!
33 MCerPhotEvt *fCerPhotEvt; //!
34 MPedestalCam *fPedestalCam; //!
35 MImgCleanStd *fImgCleanStd; //!
36 MCameraSignal *fCamSignal; //!
37
38 MRawEvtData *fClone; //->
39
40 MHCamera *fHist;
41
42 EventType_t fType;
43
44 TH1 *GetHistByName(const TString name) { return (TH1*)fHist; }
45
46 Bool_t SetupFill(const MParList *plist);
47 Bool_t Fill(const MParContainer *par, const Stat_t weight=1);
48
49public:
50 MHEvent(EventType_t type=kEvtSignal);
51 ~MHEvent();
52
53 MHCamera *GetHist() { return fHist; }
54
55 void Draw(Option_t *o="");
56
57 ClassDef(MHEvent, 1)
58};
59
60#endif
Note: See TracBrowser for help on using the repository browser.