source: trunk/MagicSoft/Mars/mfilter/MFCT1SelFinal.h@ 1999

Last change on this file since 1999 was 1982, checked in by moralejo, 22 years ago
*** empty log message ***
File size: 1.8 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 MGeomCam;
17class MCerPhotEvt;
18class MHillas;
19class MHillasSrc;
20class MMcEvt;
21class MHadronness;
22
23class MFCT1SelFinal : public MFilter
24{
25private:
26 MGeomCam *fCam; // Camera Geometry
27 MCerPhotEvt *fEvt; // Cerenkov Photon Event
28 MMcEvt *fMcEvt;
29 MHillas *fHil;
30 MHillasSrc *fHilSrc;
31 MHadronness *fHadronness;
32
33 Double_t fMm2Deg; // conversion mm to degrees in camera
34 Int_t fCut[4];
35 TString fHilName;
36 TString fHilSrcName;
37 TString fHadronnessName;
38
39 Float_t fHadronnessMax;
40 Float_t fAlphaMax;
41 Float_t fDistMax;
42
43 Bool_t fResult;
44
45
46public:
47 MFCT1SelFinal(const char *HilName="MHillas", const char *HilSrcName="MHillasSrc",
48 const char *name=NULL, const char *title=NULL);
49
50 void SetHadronnessName(const TString name) { fHadronnessName = name; }
51 Bool_t IsExpressionTrue() const { return fResult; }
52
53 Bool_t PreProcess(MParList *pList);
54 Bool_t Process();
55 Bool_t PostProcess();
56
57 void SetCuts(Float_t hadmax, Float_t alphamax, Float_t distmax);
58
59 ClassDef(MFCT1SelFinal, 0) // Class to evaluate final cuts
60};
61
62#endif
63
64
65
66
67
68
69
70
71
72
73
Note: See TracBrowser for help on using the repository browser.