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

Last change on this file since 3172 was 2043, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.1 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 fHAsym; // [mm] fDist minus dist: center of ellipse, highest pixel
19 TH1F fHM3Long; // [mm] 3rd moment (e-weighted) along major axis
20 TH1F fHM3Trans; // [mm] 3rd moment (e-weighted) along minor axis
21
22 Float_t fMm2Deg;
23 Bool_t fUseMmScale;
24
25 TString fHilName;
26
27public:
28 MHHillasExt(const char *name=NULL, const char *title=NULL);
29
30 void SetHillasName(const char *name) { fHilName = name; }
31
32 void SetMmScale(Bool_t mmscale=kTRUE);
33 virtual void SetMm2Deg(Float_t mmdeg);
34
35 Bool_t SetupFill(const MParList *pList);
36 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
37
38 TH1 *GetHistByName(const TString name);
39
40 void Draw(Option_t *opt=NULL);
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.