source: trunk/MagicSoft/Mars/manalysis/MHillasExt.h@ 1466

Last change on this file since 1466 was 1460, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MHillasExt
2#define MARS_MHillasExt
3
4#ifndef MARS_MHillas
5#include "MHillas.h"
6#endif
7
8class MGeomCam;
9class MCerPhotEvt;
10
11class MHillasExt : public MHillas
12{
13private:
14 // for description see MExtHillas.cc
15 Float_t fConc; // [ratio] concentration ratio: sum of the two highest pixels / fSize
16 Float_t fConc1; // [ratio] concentration ratio: sum of the highest pixel / fSize
17 Float_t fAsym; // [mm] fDist minus dist: center of ellipse, highest pixel
18 Float_t fM3Long; // [mm] 3rd moment (e-weighted) along major axis
19 Float_t fM3Trans; // [mm] 3rd moment (e-weighted) along minor axis
20
21public:
22 MHillasExt(const char *name=NULL, const char *title=NULL);
23
24 void Reset();
25
26 Float_t GetConc() const { return fConc; }
27 Float_t GetConc1() const { return fConc1; }
28 Float_t GetAsym() const { return fAsym; }
29 Float_t GetM3Long() const { return fM3Long; }
30 Float_t GetM3Trans() const { return fM3Trans; }
31
32 Bool_t Calc(const MGeomCam &geom, const MCerPhotEvt &pix);
33
34 void Print(Option_t *opt=NULL) const;
35
36 //void AsciiRead(ifstream &fin);
37 //void AsciiWrite(ofstream &fout) const;
38
39 ClassDef(MHillasExt, 1) // Storage Container for extended Hillas Parameter
40};
41#endif
Note: See TracBrowser for help on using the repository browser.