source: trunk/MagicSoft/Mars/mimage/MNewImagePar.h@ 3525

Last change on this file since 3525 was 3520, checked in by blanch, 22 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 MCerPhotEvt;
11
12class MNewImagePar : public MParContainer
13{
14private:
15 Float_t fLeakage1; // (photons in most outer ring of pixels) over fSize
16 Float_t fLeakage2; // (photons in the 2 outer rings of pixels) over fSize
17 Float_t fInnerLeakage1; // (photons in most outer rings of inner pixels) over fInnerSize
18 Float_t fInnerLeakage2; // (photons in the 2 outer rings of inner pixels) over fInnerSize
19 Float_t fInnerSize;
20
21 Float_t fConc; // [ratio] concentration ratio: sum of the two highest pixels / fSize
22 Float_t fConc1; // [ratio] concentration ratio: sum of the highest pixel / fSize
23 Float_t fConc3; // [ratio] concentration ratio: sum of the 3 highest pixel / fSize
24 Float_t fConc4; // [ratio] concentration ratio: sum of the 4 highest pixel / fSize
25 Float_t fConc5; // [ratio] concentration ratio: sum of the 5 highest pixel / fSize
26 Float_t fConc6; // [ratio] concentration ratio: sum of the 6 highest pixel / fSize
27 Float_t fConc7; // [ratio] concentration ratio: sum of the 7 highest pixel / fSize
28 Float_t fConc8; // [ratio] concentration ratio: sum of the 8 highest pixel / fSize
29
30 Short_t fNumUsedPixels; // Number of pixels which survived the image cleaning
31 Short_t fNumCorePixels; // number of core pixels
32 Short_t fNumHGSaturatedPixels; // number of pixels with saturating hi-gains
33 Short_t fNumSaturatedPixels; // number of pixels with saturating lo-gains
34
35public:
36 MNewImagePar(const char *name=NULL, const char *title=NULL);
37
38 void Reset();
39
40 Float_t GetLeakage1() const { return fLeakage1; }
41 Float_t GetLeakage2() const { return fLeakage2; }
42
43 Float_t GetConc() const { return fConc; }
44 Float_t GetConc1() const { return fConc1; }
45
46 Short_t GetNumUsedPixels() const { return fNumUsedPixels; }
47 Short_t GetNumCorePixels() const { return fNumCorePixels; }
48
49 Short_t GetNumSaturatedPixels() const { return fNumSaturatedPixels; }
50 Short_t GetNumHGSaturatedPixels() const { return fNumHGSaturatedPixels; }
51
52 void Print(Option_t *opt=NULL) const;
53
54 void Calc(const MGeomCam &geom, const MCerPhotEvt &evt,
55 const MHillas &hillas);
56
57 ClassDef(MNewImagePar, 3) // Container to hold new image parameters
58};
59
60#endif
Note: See TracBrowser for help on using the repository browser.