source: trunk/MagicSoft/Mars/mfilter/MFSoftwareTrigger.h@ 3450

Last change on this file since 3450 was 2704, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 850 bytes
Line 
1#ifndef MARS_MFSoftwareTrigger
2#define MARS_MFSoftwareTrigger
3
4#ifndef MARS_MFilter
5#include "MFilter.h"
6#endif
7
8class MMcEvt;
9class MGeomCam;
10class MCerPhotEvt;
11
12class MFSoftwareTrigger : public MFilter
13{
14private:
15 const MGeomCam *fCam; // Camera Geometry
16 const MCerPhotEvt *fEvt; // Cerenkov Photon Event
17
18 Float_t fNumMinPhotons; // nuber of minimum required photons
19
20 Int_t fCut[2];
21
22 Bool_t fResult;
23
24 Int_t PreProcess(MParList *pList);
25 Int_t Process();
26 Int_t PostProcess();
27
28 Bool_t SwTrigger() const;
29
30 Bool_t IsExpressionTrue() const { return fResult; }
31
32public:
33 MFSoftwareTrigger(const char *name=NULL, const char *title=NULL);
34
35 void SetNumMinPhotons(Float_t minphotons) { fNumMinPhotons = minphotons; }
36
37 ClassDef(MFSoftwareTrigger, 0) // Filter for software trigger
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.