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

Last change on this file since 4578 was 3666, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.1 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, const MHillas &hil);
36
37 void Print(Option_t *opt=NULL) const;
38 void Print(const MGeomCam &geom) const;
39
40 void Set(const TArrayF &arr);
41
42 ClassDef(MHillasExt, 3) // Storage Container for extended Hillas Parameter
43};
44#endif
Note: See TracBrowser for help on using the repository browser.