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

Last change on this file since 1971 was 1905, checked in by wittek, 22 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 MGeomCam;
17class MCerPhotEvt;
18class MHillas;
19class MHillasSrc;
20class MMcEvt;
21
22class MFCT1SelStandard : public MFilter
23{
24private:
25 MGeomCam *fCam; // Camera Geometry
26 MCerPhotEvt *fEvt; // Cerenkov Photon Event
27 MMcEvt *fMcEvt;
28 MHillas *fHil;
29 MHillasSrc *fHilSrc;
30
31 Double_t fMm2Deg; // conversion mm to degrees in camera
32 Int_t fCut[5];
33 TString fHilName;
34 TString fHilSrcName;
35
36 Float_t fUsedPixelsMax;
37 Float_t fCorePixelsMin;
38 Float_t fSizeMin;
39 Float_t fDistMin;
40 Float_t fDistMax;
41 Float_t fLengthMin;
42 Float_t fWidthMin;
43
44 Bool_t fResult;
45
46public:
47 MFCT1SelStandard(const char *HilName="MHillas", const char *HilSrcName="MHillasSrc",
48 const char *name=NULL, const char *title=NULL);
49
50 Bool_t IsExpressionTrue() const { return fResult; }
51
52 Bool_t PreProcess(MParList *pList);
53 Bool_t Process();
54 Bool_t PostProcess();
55
56 void SetCuts(Float_t usedpixelsmax, Float_t corepixelsmin,
57 Float_t sizemin, Float_t distmin, Float_t distmax,
58 Float_t lengthmin, Float_t widthmin);
59
60 ClassDef(MFCT1SelStandard, 0) // Class to evaluate standard cuts
61};
62
63#endif
64
65
66
67
68
69
70
71
72
73
74
Note: See TracBrowser for help on using the repository browser.