Line | |
---|
1 | #ifndef MARS_MFDisp
|
---|
2 | #define MARS_MFDisp
|
---|
3 |
|
---|
4 | #ifndef MARS_MFilter
|
---|
5 | #include "MFilter.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MHillas;
|
---|
9 | class MHillasSrc;
|
---|
10 | class MImagePar;
|
---|
11 | class MNewImagePar;
|
---|
12 |
|
---|
13 | class MFDisp : public MFilter
|
---|
14 | {
|
---|
15 | private:
|
---|
16 |
|
---|
17 | MHillas *fHil;
|
---|
18 | MHillasSrc *fHilSrc;
|
---|
19 | MImagePar *fImgPar;
|
---|
20 | MNewImagePar *fNewImgPar;
|
---|
21 |
|
---|
22 | //--------------------------
|
---|
23 |
|
---|
24 | // cutting variables to select the sample
|
---|
25 | // for the Disp optimization
|
---|
26 |
|
---|
27 | Int_t fIslandsMin;
|
---|
28 | Int_t fIslandsMax;
|
---|
29 |
|
---|
30 | Int_t fUsedPixelsMin;
|
---|
31 | Int_t fUsedPixelsMax;
|
---|
32 |
|
---|
33 | Int_t fCorePixelsMin;
|
---|
34 | Int_t fCorePixelsMax;
|
---|
35 |
|
---|
36 | Float_t fSizeMin;
|
---|
37 | Float_t fSizeMax;
|
---|
38 |
|
---|
39 | Float_t fLeakage1Min;
|
---|
40 | Float_t fLeakage1Max;
|
---|
41 |
|
---|
42 | Float_t fLeakage2Min;
|
---|
43 | Float_t fLeakage2Max;
|
---|
44 |
|
---|
45 | Float_t fLengthMin;
|
---|
46 | Float_t fWidthMin;
|
---|
47 |
|
---|
48 | //--------------------------
|
---|
49 |
|
---|
50 | Double_t fMm2Deg; // conversion mm to degrees in camera
|
---|
51 |
|
---|
52 | Int_t fCut[8]; // array to save cuts statistics
|
---|
53 |
|
---|
54 | Bool_t fResult;
|
---|
55 |
|
---|
56 | Int_t PreProcess(MParList *pList);
|
---|
57 | Int_t Process();
|
---|
58 | Int_t PostProcess();
|
---|
59 |
|
---|
60 | Bool_t IsExpressionTrue() const { return fResult; }
|
---|
61 |
|
---|
62 | Bool_t Set(Int_t rc);
|
---|
63 |
|
---|
64 | public:
|
---|
65 |
|
---|
66 | MFDisp(const char *name=NULL, const char *title=NULL);
|
---|
67 |
|
---|
68 | void SetCuts(Int_t islandsmin, Int_t islandsmax,
|
---|
69 | Int_t usedpixelsmin, Int_t usedpixelsmax,
|
---|
70 | Int_t corepixelsmin, Int_t corepixelsmax,
|
---|
71 | Float_t sizemin, Float_t sizemax,
|
---|
72 | Float_t leakage1min, Float_t leakage1max,
|
---|
73 | Float_t leakage2min, Float_t leakage2max,
|
---|
74 | Float_t lengthmin, Float_t widthmin);
|
---|
75 |
|
---|
76 | ClassDef(MFDisp, 0) // Class to set cuts for Disp optimization
|
---|
77 | };
|
---|
78 |
|
---|
79 | #endif
|
---|
80 |
|
---|
81 |
|
---|
82 |
|
---|
83 |
|
---|
84 |
|
---|
85 |
|
---|
86 |
|
---|
87 |
|
---|
88 |
|
---|
89 |
|
---|
90 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.