/* * PndEmcClusterSorterTask.h */ #ifndef PNDEMCCLUSTERSORTERTASK_H_ #define PNDEMCCLUSTERSORTERTASK_H_ #include #include class PndEmcClusterSorterTask: public FairRingSorterTask { public: PndEmcClusterSorterTask(); PndEmcClusterSorterTask(const char* name):FairRingSorterTask(name){}; PndEmcClusterSorterTask(Int_t numberOfCells, Double_t widthOfCells, TString inputBranch, TString outputBranch, TString folderName): FairRingSorterTask(numberOfCells, widthOfCells, inputBranch, outputBranch, folderName){ FairRootManager::Instance()->GetObject(inputBranch); }; virtual ~PndEmcClusterSorterTask(); virtual void AddNewDataToTClonesArray(FairTimeStamp* data); virtual FairRingSorter* InitSorter(Int_t numberOfCells, Double_t widthOfCells) const; void SetClusterType(Int_t type=0) {fClusterType=type;}; private: Int_t fClusterType=0; ClassDef(PndEmcClusterSorterTask, 1); }; #endif /* PNDEMCCLUSTERSORTERTASK_H_ */