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

Last change on this file since 2006 was 1992, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MARS_MHHillasExt
2#define MARS_MHHillasExt
3
4#ifndef ROOT_TH1
5#include <TH1.h>
6#endif
7#ifndef MARS_MH
8#include "MH.h"
9#endif
10
11class MHillasExt;
12
13class MHHillasExt : public MH
14{
15private:
16 MHillasExt *fHillasExt; //! Pointer to the MHillasExt container
17
18 TH1F fHConc; // [ratio] concentration ratio: sum of the two highest pixels / fSize
19 TH1F fHConc1; // [ratio] concentration ratio: sum of the highest pixel / fSize
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
24 Float_t fMm2Deg;
25 Bool_t fUseMmScale;
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 void SetMmScale(Bool_t mmscale=kTRUE);
35 virtual void SetMm2Deg(Float_t mmdeg);
36
37 Bool_t SetupFill(const MParList *pList);
38 Bool_t Fill(const MParContainer *par, Double_t w=1);
39
40 TH1 *GetHistByName(const TString name);
41
42 void Draw(Option_t *opt=NULL);
43 TObject *DrawClone(Option_t *opt=NULL) const;
44
45 ClassDef(MHHillasExt, 1) // Container which holds histograms for the extended hillas parameters
46};
47
48#endif
Note: See TracBrowser for help on using the repository browser.