source: tags/Mars-V0.9.5/mimage/MNewImagePar.h

Last change on this file was 7538, checked in by tbretz, 19 years ago
*** empty log message ***
File size: 2.5 KB
Line 
1#ifndef MARS_MNewImagePar
2#define MARS_MNewImagePar
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class MHillas;
9class MGeomCam;
10class MSignalCam;
11
12class MNewImagePar : public MParContainer
13{
14private:
15 // FIXME: MOVE ALL PARAMETRS WHICH DOES'T DEPEND ON THE IMAGE
16 // CLEANING TO A NEW CLASS!
17 Float_t fLeakage1; // (photons in most outer ring of pixels) over fSize
18 Float_t fLeakage2; // (photons in the 2 outer rings of pixels) over fSize
19 Float_t fInnerLeakage1; // (photons in most outer rings of inner pixels) over fInnerSize
20 Float_t fInnerLeakage2; // (photons in the 2 outer rings of inner pixels) over fInnerSize
21 Float_t fInnerSize; //
22
23 Float_t fConc; // [ratio] concentration ratio: sum of the two highest pixels / fSize
24 Float_t fConc1; // [ratio] concentration ratio: sum of the highest pixel / fSize
25 Float_t fConcCOG; // [ratio] concentration of the three pixels next to COG
26 Float_t fConcCore; // [ratio] concentration of signals inside or touching the ellipse
27
28 Float_t fUsedArea; // Area of pixels which survived the image cleaning
29 Float_t fCoreArea; // Area of core pixels
30 Short_t fNumUsedPixels; // Number of pixels which survived the image cleaning
31 Short_t fNumCorePixels; // number of core pixels
32
33public:
34 MNewImagePar(const char *name=NULL, const char *title=NULL);
35
36 void Reset();
37
38 Float_t GetLeakage1() const { return fLeakage1; }
39 Float_t GetLeakage2() const { return fLeakage2; }
40
41 Float_t GetInnerLeakage1() const { return fInnerLeakage1; }
42 Float_t GetInnerLeakage2() const { return fInnerLeakage2; }
43 Float_t GetInnerSize() const { return fInnerSize; }
44
45 Float_t GetConc() const { return fConc; }
46 Float_t GetConc1() const { return fConc1; }
47 Float_t GetConcCOG() const { return fConcCOG; }
48 Float_t GetConcCore() const { return fConcCore; }
49
50 Short_t GetNumUsedPixels() const { return fNumUsedPixels; }
51 Short_t GetNumCorePixels() const { return fNumCorePixels; }
52
53 Float_t GetUsedArea() const { return fUsedArea; }
54 Float_t GetCoreArea() const { return fCoreArea; }
55
56 void Print(Option_t *opt=NULL) const;
57 void Print(const MGeomCam &geom) const;
58
59 void Calc(const MGeomCam &geom, const MSignalCam &evt,
60 const MHillas &hillas, Int_t island=-1);
61
62 ClassDef(MNewImagePar, 5) // Container to hold new image parameters
63};
64
65#endif
Note: See TracBrowser for help on using the repository browser.