/* * PndEmcPreclusterSorterTask.h */ #ifndef PNDEMCPRECLUSTERSORTERTASK_H_ #define PNDEMCPRECLUSTERSORTERTASK_H_ #include #include class PndEmcPreclusterSorterTask: public FairRingSorterTask { public: PndEmcPreclusterSorterTask(); PndEmcPreclusterSorterTask(const char* name):FairRingSorterTask(name){}; PndEmcPreclusterSorterTask(Int_t numberOfCells, Double_t widthOfCells, TString inputBranch, TString outputBranch, TString folderName): FairRingSorterTask(numberOfCells, widthOfCells, inputBranch, outputBranch, folderName){ FairRootManager::Instance()->GetObject(inputBranch); }; virtual ~PndEmcPreclusterSorterTask(); 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(PndEmcPreclusterSorterTask, 1); }; #endif /* PNDEMCPRECLUSTERSORTERTASK_H_ */