source: trunk/MagicSoft/Mars/manalysisct1/MFCT1SelStandard.h@ 9437

Last change on this file since 9437 was 6847, checked in by tbretz, 20 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 Int_t PreProcess(MParList *pList);
46 Int_t Process();
47 Int_t PostProcess();
48
49 Bool_t IsExpressionTrue() const { return fResult; }
50
51 Bool_t Set(Int_t rc);
52
53public:
54 MFCT1SelStandard(const char *HilSrcName="MHillasSrc",
55 const char *name=NULL, const char *title=NULL);
56
57 void SetHillasName(const char *name) { fHilName = name; }
58 void SetImgParName(const char *name) { fImgParName = name; }
59
60 void SetCuts(Float_t usedpixelsmax, Float_t corepixelsmin,
61 Float_t sizemin, Float_t distmin, Float_t distmax,
62 Float_t lengthmin, Float_t widthmin);
63
64 ClassDef(MFCT1SelStandard, 0) // Class to evaluate standard cuts
65};
66
67#endif
68
69
70
71
72
73
74
75
76
77
78
Note: See TracBrowser for help on using the repository browser.