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

Last change on this file since 5138 was 2550, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 853 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 MHCamera *fRms; // storing the rms
16 MCamEvent *fEvt; //! the current event
17
18 TString fNameEvt;
19
20 Int_t fType;
21
22 Bool_t SetupFill(const MParList *pList);
23 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
24 Bool_t Finalize();
25
26public:
27 MHCamEvent(const char *name=NULL, const char *title=NULL);
28 ~MHCamEvent();
29
30 void SetNameEvt(const TString name) { fNameEvt = name; }
31 void SetType(Int_t type) { fType = type; }
32
33 TH1 *GetHistByName(const TString name="");
34
35 void Draw(Option_t *o="");
36
37 void PrintOutliers(Float_t s) const;
38
39 ClassDef(MHCamEvent, 1) // Histogram to sum camera events
40};
41
42#endif
Note: See TracBrowser for help on using the repository browser.