source: trunk/MagicSoft/Mars/mimage/MHillasExt.h@ 9488

Last change on this file since 9488 was 8619, checked in by tbretz, 17 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MHillasExt
2#define MARS_MHillasExt
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class TArrayF;
9
10class MHillas;
11class MGeomCam;
12class MSignalCam;
13
14class MHillasExt : public MParContainer
15{
16private:
17 // for description see MExtHillas.cc
18 Float_t fAsym; // [mm] fDist minus dist: center of ellipse, highest pixel
19 Float_t fM3Long; // [mm] 3rd moment (e-weighted) along major axis
20 Float_t fM3Trans; // [mm] 3rd moment (e-weighted) along minor axis
21
22 Float_t fSlopeLong;
23 Float_t fSlopeTrans;
24
25public:
26 MHillasExt(const char *name=NULL, const char *title=NULL);
27
28 void Reset();
29
30 Float_t GetAsym() const { return fAsym; }
31 Float_t GetM3Long() const { return fM3Long; }
32 Float_t GetM3Trans() const { return fM3Trans; }
33 Float_t GetSlopeLong() const { return fSlopeLong; }
34 Float_t GetSlopeTrans() const { return fSlopeTrans; }
35
36 Int_t Calc(const MGeomCam &geom, const MSignalCam &pix,
37 const MHillas &hil, Int_t island=-1);
38
39 void Print(Option_t *opt=NULL) const;
40 void Print(const MGeomCam &geom) const;
41
42 void Paint(Option_t *o="");
43
44 void Set(const TArrayF &arr);
45
46 ClassDef(MHillasExt, 4) // Storage Container for extended Hillas Parameter
47};
48#endif
Note: See TracBrowser for help on using the repository browser.