#ifndef MARS_MIslandCalc #define MARS_MIslandCalc #ifndef MARS_MGTask #include "MGTask.h" #endif #ifndef ROOT_TArrayF #include #endif class MGeomCam; class MSigmabar; class MCerPhotPix; class MCerPhotEvt; class MPedestalCam; class MArrivalTimeCam; class MArrivalTimePix; class MIslands; class MIslandCalc : public MGTask { private: const MGeomCam *fCam; //! MCerPhotEvt *fEvt; //! MSigmabar *fSgb; //! MPedestalCam *fPed; //! MArrivalTimeCam *fTime; //! MIslands *fIsl; //! output container to store result TString fIslName; // name of the 'MIslands' container Int_t fIslandAlgorithm; Int_t PreProcess(MParList *plist); Int_t Process(); Int_t Calc1(); // algorithm of counting islands #1 Int_t Calc2(); // algorithm of counting islands #2 public: MIslandCalc(const char* name=NULL, const char* title=NULL); void SetOutputName(TString outname) { fIslName = outname; } void SetAlgorithm(Int_t m) {fIslandAlgorithm = m;} ClassDef(MIslandCalc, 0) // task doing the image cleaning }; #endif