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

Last change on this file since 3492 was 2663, checked in by wittek, 21 years ago
*** empty log message ***
File size: 1.6 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 MMcEvt;
17class MGeomCam;
18class MCerPhotEvt;
19class MPedestalCam;
20class MRawRunHeader;
21
22class MFSelBasic : public MFilter
23{
24private:
25 const MMcEvt *fMcEvt;
26 const MGeomCam *fCam; // Camera Geometry
27 const MCerPhotEvt *fEvt; // Cerenkov Photon Event
28 //const MPedestalCam *fPed; // Pedestal information
29 const MRawRunHeader *fRawRun;
30
31 Float_t fMinPhotons;
32 Float_t fThetaMin;
33 Float_t fThetaMax;
34
35 Int_t fCut[5];
36
37 Bool_t fResult;
38
39 Int_t Set(Int_t rc);
40
41 Int_t PreProcess(MParList *pList);
42 Int_t Process();
43 Int_t PostProcess();
44
45 Bool_t IsExpressionTrue() const { return fResult; }
46
47 Bool_t SwTrigger();
48
49public:
50 MFSelBasic(const char *name=NULL, const char *title=NULL);
51
52 void SetCuts(Float_t minphotons, Float_t thetamin, Float_t thetamax);
53
54 ClassDef(MFSelBasic, 0) // Class to evaluate basic cuts
55};
56
57#endif
58
59
60
61
62
63
64
65
66
67
68
Note: See TracBrowser for help on using the repository browser.