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

Last change on this file since 2904 was 2624, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.0 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
22public:
23 MHillasExt(const char *name=NULL, const char *title=NULL);
24
25 void Reset();
26
27 Float_t GetAsym() const { return fAsym; }
28 Float_t GetM3Long() const { return fM3Long; }
29 Float_t GetM3Trans() const { return fM3Trans; }
30
31 Int_t Calc(const MGeomCam &geom, const MCerPhotEvt &pix, const MHillas &hil);
32
33 void Print(Option_t *opt=NULL) const;
34 void Print(const MGeomCam &geom) const;
35
36 void Set(const TArrayF &arr);
37
38 ClassDef(MHillasExt, 2) // Storage Container for extended Hillas Parameter
39};
40#endif
Note: See TracBrowser for help on using the repository browser.