source: trunk/MagicSoft/Mars/mtemp/mifae/library/MFDisp.h@ 5923

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