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

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