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

Last change on this file since 5532 was 4710, checked in by tbretz, 20 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 MCerPhotEvt;
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 fMaxDist; // Distance between center and most distant used pixel
23
24public:
25 MHillasExt(const char *name=NULL, const char *title=NULL);
26
27 void Reset();
28
29 Float_t GetAsym() const { return fAsym; }
30 Float_t GetM3Long() const { return fM3Long; }
31 Float_t GetM3Trans() const { return fM3Trans; }
32
33 Float_t GetMaxDist() const { return fMaxDist; }
34
35 Int_t Calc(const MGeomCam &geom, const MCerPhotEvt &pix,
36 const MHillas &hil, Int_t island=-1);
37
38 void Print(Option_t *opt=NULL) const;
39 void Print(const MGeomCam &geom) const;
40
41 void Set(const TArrayF &arr);
42
43 ClassDef(MHillasExt, 3) // Storage Container for extended Hillas Parameter
44};
45#endif
Note: See TracBrowser for help on using the repository browser.