Line | |
---|
1 | #ifndef MARS_MFSoftwareTrigger
|
---|
2 | #define MARS_MFSoftwareTrigger
|
---|
3 |
|
---|
4 | #ifndef MARS_MFilter
|
---|
5 | #include "MFilter.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MMcEvt;
|
---|
9 | class MGeomCam;
|
---|
10 | class MCerPhotEvt;
|
---|
11 |
|
---|
12 | class MFSoftwareTrigger : public MFilter
|
---|
13 | {
|
---|
14 | private:
|
---|
15 | const MGeomCam *fCam; // Camera Geometry
|
---|
16 | const MCerPhotEvt *fEvt; // Cerenkov Photon Event
|
---|
17 |
|
---|
18 | Float_t fNumMinPhotons; // nuber of minimum required photons
|
---|
19 | Byte_t fNumNeighbors; // number of required neighbours
|
---|
20 |
|
---|
21 | Int_t fCut[2];
|
---|
22 |
|
---|
23 | Bool_t fResult;
|
---|
24 |
|
---|
25 | Int_t PreProcess(MParList *pList);
|
---|
26 | Int_t Process();
|
---|
27 | Int_t PostProcess();
|
---|
28 |
|
---|
29 | Bool_t SwTrigger() const;
|
---|
30 |
|
---|
31 | Bool_t IsExpressionTrue() const { return fResult; }
|
---|
32 |
|
---|
33 | public:
|
---|
34 | MFSoftwareTrigger(const char *name=NULL, const char *title=NULL);
|
---|
35 |
|
---|
36 | void SetNumMinPhotons(Float_t minphotons) { fNumMinPhotons = minphotons; }
|
---|
37 | void SetNumNeighbors(Byte_t num) { fNumNeighbors = num; }
|
---|
38 |
|
---|
39 | ClassDef(MFSoftwareTrigger, 0) // Filter for software trigger
|
---|
40 | };
|
---|
41 |
|
---|
42 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.