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

Last change on this file since 3544 was 3526, checked in by blanch, 21 years ago
*** empty log message ***
File size: 1.9 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
24 Short_t fNumUsedPixels; // Number of pixels which survived the image cleaning
25 Short_t fNumCorePixels; // number of core pixels
26 Short_t fNumHGSaturatedPixels; // number of pixels with saturating hi-gains
27 Short_t fNumSaturatedPixels; // number of pixels with saturating lo-gains
28
29public:
30 MNewImagePar(const char *name=NULL, const char *title=NULL);
31
32 void Reset();
33
34 Float_t GetLeakage1() const { return fLeakage1; }
35 Float_t GetLeakage2() const { return fLeakage2; }
36
37 Float_t GetConc() const { return fConc; }
38 Float_t GetConc1() const { return fConc1; }
39
40 Short_t GetNumUsedPixels() const { return fNumUsedPixels; }
41 Short_t GetNumCorePixels() const { return fNumCorePixels; }
42
43 Short_t GetNumSaturatedPixels() const { return fNumSaturatedPixels; }
44 Short_t GetNumHGSaturatedPixels() const { return fNumHGSaturatedPixels; }
45
46 void Print(Option_t *opt=NULL) const;
47
48 void Calc(const MGeomCam &geom, const MCerPhotEvt &evt,
49 const MHillas &hillas);
50
51 ClassDef(MNewImagePar, 3) // Container to hold new image parameters
52};
53
54#endif
Note: See TracBrowser for help on using the repository browser.