source: trunk/MagicSoft/Mars/mhist/MHCamEvent.h@ 2230

Last change on this file since 2230 was 2229, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 771 bytes
Line 
1#ifndef MARS_MHCamEvent
2#define MARS_MHCamEvent
3
4#ifndef MARS_MH
5#include "MH.h"
6#endif
7
8class MHCamera;
9class MCamEvent;
10
11class MHCamEvent : public MH
12{
13private:
14 MHCamera *fSum; // storing the sum
15 MCamEvent *fEvt; //! the current event
16
17 TString fNameEvt;
18
19 Int_t fType;
20
21 Bool_t SetupFill(const MParList *pList);
22 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
23 Bool_t Finalize();
24
25public:
26 MHCamEvent(const char *name=NULL, const char *title=NULL);
27 ~MHCamEvent();
28
29 void SetNameEvt(const TString name) { fNameEvt = name; }
30 void SetType(Int_t type) { fType = type; }
31
32 TH1 *GetHistByName(const TString name="");
33
34 void Draw(Option_t *o="");
35
36 ClassDef(MHCamEvent, 1) // Histogram to sum camera events
37};
38
39#endif
Note: See TracBrowser for help on using the repository browser.