source: trunk/Mars/mimage/MHHillasExt.h@ 9841

Last change on this file since 9841 was 9343, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MARS_MHHillasExt
2#define MARS_MHHillasExt
3
4#ifndef ROOT_TH2
5#include <TH2.h>
6#endif
7#ifndef MARS_MH
8#include "MH.h"
9#endif
10
11class MGeomCam;
12class MHillas;
13class MHillasExt;
14
15class MHHillasExt : public MH
16{
17private:
18 MGeomCam *fGeom; //! conversion mm to deg
19 MHillas *fHillas; //! Pointer to the MHillas container
20 MHillasExt *fHillasExt; //! Pointer to the MHillasExt container
21
22 TH1F fHAsym; // [mm] fDist minus dist: center of ellipse, highest pixel
23 TH1F fHM3Long; // [mm] 3rd moment (e-weighted) along major axis
24 TH1F fHM3Trans; // [mm] 3rd moment (e-weighted) along minor axis
25 TH2F fHSlopeL; //
26
27 TString fHilName;
28
29public:
30 MHHillasExt(const char *name=NULL, const char *title=NULL);
31
32 void SetHillasName(const char *name) { fHilName = name; }
33
34 Bool_t SetupFill(const MParList *pList);
35 Int_t Fill(const MParContainer *par, const Stat_t w=1);
36
37 TH1 *GetHistByName(const TString name) const;
38 TObject *FindObject(const TObject *obj) const { return 0; }
39 TObject *FindObject(const char *name) const
40 {
41 return (TObject*)GetHistByName(name);
42 }
43
44 void Draw(Option_t *opt=NULL);
45
46 ClassDef(MHHillasExt, 3) // Container which holds histograms for the extended hillas parameters
47};
48
49#endif
Note: See TracBrowser for help on using the repository browser.