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

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