Line | |
---|
1 | #ifndef MARS_MNewImagePar
|
---|
2 | #define MARS_MNewImagePar
|
---|
3 |
|
---|
4 | #ifndef MARS_MParContainer
|
---|
5 | #include "MParContainer.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MHillas;
|
---|
9 | class MGeomCam;
|
---|
10 | class MCerPhotEvt;
|
---|
11 |
|
---|
12 | class MNewImagePar : public MParContainer
|
---|
13 | {
|
---|
14 | private:
|
---|
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 |
|
---|
24 | Short_t fNumSaturatedPixels; // number of saturated pixels
|
---|
25 |
|
---|
26 | public:
|
---|
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 | Int_t GetNumUsedPixels() const { return fNumUsedPixels; }
|
---|
38 | Int_t GetNumCorePixels() const { return fNumCorePixels; }
|
---|
39 |
|
---|
40 | Short_t GetNumSaturatedPixels() const { return fNumSaturatedPixels; }
|
---|
41 |
|
---|
42 | void Print(Option_t *opt=NULL) const;
|
---|
43 |
|
---|
44 | void Calc(const MGeomCam &geom, const MCerPhotEvt &evt,
|
---|
45 | const MHillas &hillas);
|
---|
46 |
|
---|
47 | ClassDef(MNewImagePar, 2) // Container to hold new image parameters
|
---|
48 | };
|
---|
49 |
|
---|
50 | #endif
|
---|
51 |
|
---|
52 |
|
---|
53 |
|
---|
54 |
|
---|
55 |
|
---|
56 |
|
---|
57 |
|
---|
58 |
|
---|
59 |
|
---|
60 |
|
---|
61 |
|
---|
62 |
|
---|
63 |
|
---|
64 |
|
---|
65 |
|
---|
66 |
|
---|
67 |
|
---|
68 |
|
---|
69 |
|
---|
70 |
|
---|
71 |
|
---|
72 |
|
---|
73 |
|
---|
74 |
|
---|
75 |
|
---|
76 |
|
---|
77 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.