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

Last change on this file since 2040 was 2026, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.4 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
24public:
25 MNewImagePar(const char *name=NULL, const char *title=NULL);
26
27 void Reset();
28
29 Float_t GetLeakage1() const { return fLeakage1; }
30 Float_t GetLeakage2() const { return fLeakage2; }
31
32 Float_t GetConc() const { return fConc; }
33 Float_t GetConc1() const { return fConc1; }
34
35 Int_t GetNumUsedPixels() const { return fNumUsedPixels; }
36 Int_t GetNumCorePixels() const { return fNumCorePixels; }
37
38 void Print(Option_t *opt=NULL) const;
39
40 void Calc(const MGeomCam &geom, const MCerPhotEvt &evt,
41 const MHillas &hillas);
42
43 ClassDef(MNewImagePar, 1) // Container to hold new image parameters
44};
45
46#endif
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Note: See TracBrowser for help on using the repository browser.