| Line | |
|---|
| 1 | #ifndef MARS_MFCT1SelBasic
|
|---|
| 2 | #define MARS_MFCT1SelBasic
|
|---|
| 3 |
|
|---|
| 4 | /////////////////////////////////////////////////////////////////////////////
|
|---|
| 5 | // //
|
|---|
| 6 | // MFCT1SelBasic //
|
|---|
| 7 | // //
|
|---|
| 8 | // Class to evaluate basic cuts //
|
|---|
| 9 | // //
|
|---|
| 10 | /////////////////////////////////////////////////////////////////////////////
|
|---|
| 11 |
|
|---|
| 12 | #ifndef MARS_MFilter
|
|---|
| 13 | #include "MFilter.h"
|
|---|
| 14 | #endif
|
|---|
| 15 |
|
|---|
| 16 | class MMcEvt;
|
|---|
| 17 | class MGeomCam;
|
|---|
| 18 | class MCerPhotEvt;
|
|---|
| 19 | class MPedestalCam;
|
|---|
| 20 | class MRawRunHeader;
|
|---|
| 21 |
|
|---|
| 22 | class MFCT1SelBasic : public MFilter
|
|---|
| 23 | {
|
|---|
| 24 | private:
|
|---|
| 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 |
|
|---|
| 49 | public:
|
|---|
| 50 | MFCT1SelBasic(const char *name=NULL, const char *title=NULL);
|
|---|
| 51 |
|
|---|
| 52 | void SetCuts(Float_t minphotons, Float_t thetamin, Float_t thetamax);
|
|---|
| 53 |
|
|---|
| 54 | ClassDef(MFCT1SelBasic, 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.