source: trunk/MagicSoft/Mars/mfilter/MFCT1SelStandard.h@ 2037

Last change on this file since 2037 was 2037, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.9 KB
Line 
1#ifndef MARS_MFCT1SelStandard
2#define MARS_MFCT1SelStandard
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MFCT1SelStandard //
7// //
8// Class to evaluate standard cuts //
9// //
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef MARS_MFilter
13#include "MFilter.h"
14#endif
15
16class MHillas;
17class MHillasSrc;
18class MNewImagePar;
19
20class MFCT1SelStandard : public MFilter
21{
22private:
23 MHillas *fHil;
24 MHillasSrc *fHilSrc;
25 MNewImagePar *fNewImgPar;
26
27 TString fHilName;
28 TString fHilSrcName;
29 TString fImgParName;
30
31 Float_t fUsedPixelsMax;
32 Float_t fCorePixelsMin;
33 Float_t fSizeMin;
34 Float_t fDistMin;
35 Float_t fDistMax;
36 Float_t fLengthMin;
37 Float_t fWidthMin;
38
39 Double_t fMm2Deg; // conversion mm to degrees in camera
40
41 Int_t fCut[5];
42
43 Bool_t fResult;
44
45 Bool_t PreProcess(MParList *pList);
46 Bool_t Process();
47 Bool_t PostProcess();
48
49 Bool_t IsExpressionTrue() const { return fResult; }
50
51public:
52 MFCT1SelStandard(const char *HilSrcName="MHillasSrc",
53 const char *name=NULL, const char *title=NULL);
54
55 void SetHillasName(const char *name) { fHilName = name; }
56 void SetImgParName(const char *name) { fImgParName = name; }
57
58 void SetCuts(Float_t usedpixelsmax, Float_t corepixelsmin,
59 Float_t sizemin, Float_t distmin, Float_t distmax,
60 Float_t lengthmin, Float_t widthmin);
61
62 ClassDef(MFCT1SelStandard, 0) // Class to evaluate standard cuts
63};
64
65#endif
66
67
68
69
70
71
72
73
74
75
76
Note: See TracBrowser for help on using the repository browser.