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 |
|
---|
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 |
|
---|
32 | public:
|
---|
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.