source: trunk/MagicSoft/Mars/mfilter/MFCT1Supercuts.h@ 1915

Last change on this file since 1915 was 1915, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.7 KB
Line 
1#ifndef MARS_MFCT1Supercuts
2#define MARS_MFCT1Supercuts
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MFCT1Supercuts //
7// //
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef MARS_MFilter
11#include "MFilter.h"
12#endif
13
14class MParList;
15class MHillas;
16class MHillasSrc;
17class MMcEvt;
18class MCerPhotEvt;
19class MGeomCam;
20
21
22class MFCT1Supercuts : public MFilter
23{
24private:
25 MHillas *fHil;
26 MHillasSrc *fHilSrc;
27 MMcEvt *fMcEvt;
28 MCerPhotEvt *fEvt;
29 MGeomCam *fCam;
30
31 TString fHilName;
32 TString fHilSrcName;
33
34 Double_t fMm2Deg;
35
36 Bool_t fResult; //!
37
38 //---------------------------------
39 // cut parameters
40 Double_t fLengthUp[8];
41 Double_t fWidthUp[8];
42 Double_t fDistUp[8];
43 Double_t fLengthLo[8];
44 Double_t fWidthLo[8];
45 Double_t distlow[8];
46 Double_t fAsymUp[8];
47 Double_t fAsymLo[8];
48 Double_t fAlphaUp[8];
49 //---------------------------------
50
51 void InitParams();
52
53public:
54 MFCT1Supercuts(const char *hilname="MHillas",
55 const char *hilsrcname="MHillasSrc",
56 const char *name=NULL, const char *title=NULL);
57
58 Double_t CtsMCut(Double_t *a, Double_t ls, Double_t ct,
59 Double_t ls2, Double_t dd2);
60
61 Bool_t IsExpressionTrue() const { return fResult; }
62 Bool_t PreProcess(MParList *pList);
63 Bool_t Process();
64
65 ClassDef(MFCT1Supercuts, 1) // A class to evaluate the Supercuts
66};
67
68#endif
69
70
71
72
73
Note: See TracBrowser for help on using the repository browser.