| Line | |
|---|
| 1 | #ifndef MARS_MHillasExt
|
|---|
| 2 | #define MARS_MHillasExt
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MHillas
|
|---|
| 5 | #include "MHillas.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MGeomCam;
|
|---|
| 9 | class MCerPhotEvt;
|
|---|
| 10 |
|
|---|
| 11 | class MHillasExt : public MHillas
|
|---|
| 12 | {
|
|---|
| 13 | private:
|
|---|
| 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 |
|
|---|
| 21 | public:
|
|---|
| 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 | Int_t Calc(const MGeomCam &geom, const MCerPhotEvt &pix);
|
|---|
| 33 |
|
|---|
| 34 | void Print(Option_t *opt=NULL) const;
|
|---|
| 35 |
|
|---|
| 36 | void Set(const TArrayF &arr);
|
|---|
| 37 |
|
|---|
| 38 | //void AsciiRead(ifstream &fin);
|
|---|
| 39 | //void AsciiWrite(ofstream &fout) const;
|
|---|
| 40 |
|
|---|
| 41 | ClassDef(MHillasExt, 1) // Storage Container for extended Hillas Parameter
|
|---|
| 42 | };
|
|---|
| 43 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.