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

Last change on this file since 1682 was 1574, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.2 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
27public:
28 MHHillasExt(const char *name=NULL, const char *title=NULL);
29 ~MHHillasExt();
30
31 void SetMmScale(Bool_t mmscale=kTRUE);
32 virtual void SetMm2Deg(Float_t mmdeg);
33
34 Bool_t SetupFill(const MParList *pList);
35 Bool_t Fill(const MParContainer *par);
36
37 TH1 *GetHistByName(const TString name);
38
39 void Draw(Option_t *opt=NULL);
40 TObject *DrawClone(Option_t *opt=NULL) const;
41
42 ClassDef(MHHillasExt, 1) // Container which holds histograms for the extended hillas parameters
43};
44
45#endif
Note: See TracBrowser for help on using the repository browser.