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

Last change on this file since 6218 was 3682, checked in by tbretz, 21 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 TH1F fHMaxDist; // [mm] Distance between shower center maximum distant pixel
22
23 Float_t fMm2Deg;
24 Bool_t fUseMmScale;
25
26 TString fHilName;
27
28public:
29 MHHillasExt(const char *name=NULL, const char *title=NULL);
30
31 void SetHillasName(const char *name) { fHilName = name; }
32
33 void SetMmScale(Bool_t mmscale=kTRUE);
34 virtual void SetMm2Deg(Float_t mmdeg);
35
36 Bool_t SetupFill(const MParList *pList);
37 Bool_t Fill(const MParContainer *par, const Stat_t w=1);
38
39 TH1 *GetHistByName(const TString name);
40
41 void Draw(Option_t *opt=NULL);
42
43 ClassDef(MHHillasExt, 1) // Container which holds histograms for the extended hillas parameters
44};
45
46#endif
Note: See TracBrowser for help on using the repository browser.