source: trunk/MagicSoft/Mars/mimage/MHHillasExt.h@ 8776

Last change on this file since 8776 was 8657, checked in by tbretz, 17 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 MHillas;
12class MHillasExt;
13
14class MHHillasExt : public MH
15{
16private:
17 MHillas *fHillas; //! Pointer to the MHillas container
18 MHillasExt *fHillasExt; //! Pointer to the MHillasExt container
19
20 TH1F fHAsym; // [mm] fDist minus dist: center of ellipse, highest pixel
21 TH1F fHM3Long; // [mm] 3rd moment (e-weighted) along major axis
22 TH1F fHM3Trans; // [mm] 3rd moment (e-weighted) along minor axis
23 TH2F fHSlopeL; //
24
25 Float_t fMm2Deg;
26 Bool_t fUseMmScale;
27
28 TString fHilName;
29
30public:
31 MHHillasExt(const char *name=NULL, const char *title=NULL);
32
33 void SetHillasName(const char *name) { fHilName = name; }
34
35 void SetMmScale(Bool_t mmscale=kTRUE);
36 virtual void SetMm2Deg(Float_t mmdeg);
37
38 Bool_t SetupFill(const MParList *pList);
39 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
40
41 TH1 *GetHistByName(const TString name) const;
42 TObject *FindObject(const TObject *obj) const { return 0; }
43 TObject *FindObject(const char *name) const
44 {
45 return (TObject*)GetHistByName(name);
46 }
47
48 void Draw(Option_t *opt=NULL);
49
50 ClassDef(MHHillasExt, 2) // Container which holds histograms for the extended hillas parameters
51};
52
53#endif
Note: See TracBrowser for help on using the repository browser.