source: branches/MarsISDCBranchBasedOn17887/mhist/MHCerPhotEvt.h@ 18298

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