| Line | |
|---|
| 1 | #ifndef MARS_MIslandsClean
|
|---|
| 2 | #define MARS_MIslandsClean
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MGTask
|
|---|
| 5 | #include "MGTask.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | #ifndef ROOT_TArrayF
|
|---|
| 9 | #include <TArrayF.h>
|
|---|
| 10 | #endif
|
|---|
| 11 |
|
|---|
| 12 | class MGeomCam;
|
|---|
| 13 | class MSigmabar;
|
|---|
| 14 | class MCerPhotPix;
|
|---|
| 15 | class MCerPhotEvt;
|
|---|
| 16 | class MPedestalCam;
|
|---|
| 17 | class MArrivalTimeCam;
|
|---|
| 18 | class MArrivalTimePix;
|
|---|
| 19 | class MIslands;
|
|---|
| 20 | class MImgIsland;
|
|---|
| 21 |
|
|---|
| 22 | class MIslandsClean : public MGTask
|
|---|
| 23 | {
|
|---|
| 24 | public:
|
|---|
| 25 |
|
|---|
| 26 | typedef enum {
|
|---|
| 27 | kTiming,
|
|---|
| 28 | kNoTiming
|
|---|
| 29 | } IslandCleaningMethod_t;
|
|---|
| 30 |
|
|---|
| 31 | private:
|
|---|
| 32 | const MGeomCam *fCam; //!
|
|---|
| 33 | MCerPhotEvt *fEvt; //!
|
|---|
| 34 | MSigmabar *fSgb; //!
|
|---|
| 35 | MPedestalCam *fPed; //!
|
|---|
| 36 | MArrivalTimeCam *fTime; //!
|
|---|
| 37 | MIslands *fIsl; //!
|
|---|
| 38 |
|
|---|
| 39 | TString fIslName;
|
|---|
| 40 |
|
|---|
| 41 | // IslandCleaningMethod_t fIslandCleaningMethod;
|
|---|
| 42 | Int_t fIslandCleaningMethod;
|
|---|
| 43 |
|
|---|
| 44 | Float_t fIslCleanThres;
|
|---|
| 45 |
|
|---|
| 46 | Int_t PreProcess(MParList *plist);
|
|---|
| 47 | Int_t Process();
|
|---|
| 48 |
|
|---|
| 49 | public:
|
|---|
| 50 | MIslandsClean(const Float_t newThres=50, const char *name=NULL, const char *title=NULL);
|
|---|
| 51 |
|
|---|
| 52 | void SetInputName(TString inname) {fIslName = inname;}
|
|---|
| 53 |
|
|---|
| 54 | //void SetMethod(IslandCleaningMethod_t m) {fIslandCleaningMethod = m;}
|
|---|
| 55 | void SetMethod(Int_t m) {fIslandCleaningMethod = m;}
|
|---|
| 56 |
|
|---|
| 57 | ClassDef(MIslandsClean, 0) // task doing the island cleaning
|
|---|
| 58 | };
|
|---|
| 59 |
|
|---|
| 60 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.