source: branches/Mars_McMismatchStudy/mimage/MNewImagePar.h@ 18066

Last change on this file since 18066 was 8647, checked in by tbretz, 17 years ago
*** empty log message ***
File size: 2.1 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
20 Float_t fConc; // [ratio] concentration ratio: sum of the two highest pixels / fSize
21 Float_t fConc1; // [ratio] concentration ratio: sum of the highest pixel / fSize
22 Float_t fConcCOG; // [ratio] concentration of the three pixels next to COG
23 Float_t fConcCore; // [ratio] concentration of signals inside or touching the ellipse
24
25 Float_t fUsedArea; // Area of pixels which survived the image cleaning
26 Float_t fCoreArea; // Area of core pixels
27 Short_t fNumUsedPixels; // Number of pixels which survived the image cleaning
28 Short_t fNumCorePixels; // number of core pixels
29
30public:
31 MNewImagePar(const char *name=NULL, const char *title=NULL);
32
33 void Reset();
34
35 Float_t GetLeakage1() const { return fLeakage1; }
36 Float_t GetLeakage2() const { return fLeakage2; }
37
38 Float_t GetConc() const { return fConc; }
39 Float_t GetConc1() const { return fConc1; }
40 Float_t GetConcCOG() const { return fConcCOG; }
41 Float_t GetConcCore() const { return fConcCore; }
42
43 Short_t GetNumUsedPixels() const { return fNumUsedPixels; }
44 Short_t GetNumCorePixels() const { return fNumCorePixels; }
45
46 Float_t GetUsedArea() const { return fUsedArea; }
47 Float_t GetCoreArea() const { return fCoreArea; }
48
49 void Print(Option_t *opt=NULL) const;
50 void Print(const MGeomCam &geom) const;
51
52 void Calc(const MGeomCam &geom, const MSignalCam &evt,
53 const MHillas &hillas, Int_t island=-1);
54
55 ClassDef(MNewImagePar, 6) // Container to hold new image parameters
56};
57
58#endif
Note: See TracBrowser for help on using the repository browser.