PandaRoot
PndEmcPreclusterSorterTask.h
Go to the documentation of this file.
1 /*
2  * PndEmcPreclusterSorterTask.h
3  */
4 
5 #ifndef PNDEMCPRECLUSTERSORTERTASK_H_
6 #define PNDEMCPRECLUSTERSORTERTASK_H_
7 
8 #include <FairRingSorterTask.h>
9 #include <FairRingSorter.h>
10 #include <FairRootManager.h>
11 
12 class PndEmcPreclusterSorterTask : public FairRingSorterTask {
13  public:
15  PndEmcPreclusterSorterTask(const char *name) : FairRingSorterTask(name){};
16  PndEmcPreclusterSorterTask(Int_t numberOfCells, Double_t widthOfCells, TString inputBranch, TString outputBranch, TString folderName)
17  : FairRingSorterTask(numberOfCells, widthOfCells, inputBranch, outputBranch, folderName)
18  {
19  FairRootManager::Instance()->GetObject(inputBranch);
20  };
21 
23 
24  virtual void AddNewDataToTClonesArray(FairTimeStamp *data);
25  virtual FairRingSorter *InitSorter(Int_t numberOfCells, Double_t widthOfCells) const;
26 
27  void SetClusterType(Int_t type = 0) { fClusterType = type; };
28 
29  private:
30  Int_t fClusterType = 0;
31 
32  ClassDef(PndEmcPreclusterSorterTask, 1);
33 };
34 
35 #endif /* PNDEMCPRECLUSTERSORTERTASK_H_ */
virtual FairRingSorter * InitSorter(Int_t numberOfCells, Double_t widthOfCells) const
virtual ~PndEmcPreclusterSorterTask()
virtual void AddNewDataToTClonesArray(FairTimeStamp *data)
PndEmcPreclusterSorterTask(Int_t numberOfCells, Double_t widthOfCells, TString inputBranch, TString outputBranch, TString folderName)