source: trunk/MagicSoft/Mars/mhist/MHHillasExt.h@ 1854

Last change on this file since 1854 was 1762, checked in by wittek, 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 MHHillasExt(const char *name=NULL, const char *title=NULL,
32 const char *hil="MHillas");
33
34 ~MHHillasExt();
35
36 void SetMmScale(Bool_t mmscale=kTRUE);
37 virtual void SetMm2Deg(Float_t mmdeg);
38
39 Bool_t SetupFill(const MParList *pList);
40 Bool_t Fill(const MParContainer *par);
41
42 TH1 *GetHistByName(const TString name);
43
44 void Draw(Option_t *opt=NULL);
45 TObject *DrawClone(Option_t *opt=NULL) const;
46
47 ClassDef(MHHillasExt, 1) // Container which holds histograms for the extended hillas parameters
48};
49
50#endif
Note: See TracBrowser for help on using the repository browser.