source: trunk/MagicSoft/Mars/mfilter/MFSelBasic.h@ 5822

Last change on this file since 5822 was 5437, checked in by wittek, 20 years ago
*** empty log message ***
File size: 1.7 KB
Line 
1#ifndef MARS_MFSelBasic
2#define MARS_MFSelBasic
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MFSelBasic //
7// //
8// Class to evaluate basic cuts //
9// //
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef MARS_MFilter
13#include "MFilter.h"
14#endif
15
16class MPointingPos;
17class MGeomCam;
18class MCerPhotEvt;
19//class MPedPhotCam;
20class MRawRunHeader;
21
22class MFSelBasic : public MFilter
23{
24private:
25 const MPointingPos *fPointPos;
26 const MGeomCam *fCam; // Camera Geometry
27 const MCerPhotEvt *fEvt; // Cerenkov Photon Event
28 // const MPedPhotCam *fPed; // Pedestal information
29 const MRawRunHeader *fRawRun;
30
31 Float_t fMinPhotons;
32 Float_t fThetaMin;
33 Float_t fThetaMax;
34
35 Float_t fPhiMin;
36 Float_t fPhiMax;
37
38 Int_t fCut[7];
39
40 Bool_t fResult;
41
42 Int_t Set(Int_t rc);
43
44 Int_t PreProcess(MParList *pList);
45 Int_t Process();
46 Int_t PostProcess();
47
48 Bool_t IsExpressionTrue() const { return fResult; }
49
50 Bool_t SwTrigger();
51
52public:
53 MFSelBasic(const char *name=NULL, const char *title=NULL);
54
55 void SetCuts(Float_t minphotons=0.0,
56 Float_t thetamin=0.0, Float_t thetamax=90.0,
57 Float_t phimin=0.0, Float_t phimax=360.0);
58
59 ClassDef(MFSelBasic, 0) // Class to evaluate basic 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.