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

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