source: trunk/Mars/manalysisct1/MFCT1SelFinal.h@ 9844

Last change on this file since 9844 was 6847, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 1.6 KB
Line 
1#ifndef MARS_MFCT1SelFinal
2#define MARS_MFCT1SelFinal
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MSelFinal //
7// //
8// Class to evaluate final cuts //
9// //
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef MARS_MFilter
13#include "MFilter.h"
14#endif
15
16class MHillas;
17class MHillasSrc;
18class MHadronness;
19
20class MFCT1SelFinal : public MFilter
21{
22private:
23 MHillasSrc *fHilSrc;
24 MHadronness *fHadronness;
25
26 TString fHilName;
27 TString fHilSrcName;
28 TString fHadronnessName;
29
30 Float_t fHadronnessMax;
31 Float_t fAlphaMax;
32 Float_t fDistMax;
33
34 Double_t fMm2Deg; // conversion mm to degrees in camera
35
36 Int_t fCut[4];
37
38 Bool_t fResult;
39
40 Int_t Set(Int_t rc);
41
42 Int_t PreProcess(MParList *pList);
43 Int_t Process();
44 Int_t PostProcess();
45
46 Bool_t IsExpressionTrue() const { return fResult; }
47
48public:
49 MFCT1SelFinal(const char *HilSrcName="MHillasSrc",
50 const char *name=NULL, const char *title=NULL);
51
52 void SetHadronnessName(const TString name) { fHadronnessName = name; }
53
54 void SetCuts(Float_t hadmax, Float_t alphamax, Float_t distmax);
55
56 ClassDef(MFCT1SelFinal, 0) // Class to evaluate final cuts
57};
58
59#endif
60
61
62
63
64
65
66
67
68
69
70
Note: See TracBrowser for help on using the repository browser.