FairRoot/PandaRoot
PndMdtDigiSorterTask.cxx
Go to the documentation of this file.
1 /*
2  * PndMdtDigiRingSorterTask.cxx
3  */
4 
5 #include "PndMdtDigiSorterTask.h"
6 #include "PndMdtDigiRingSorter.h"
7 #include "TClonesArray.h"
8 #include "FairTimeStamp.h"
9 
11 
13 }
14 
16 }
17 
18 
20 {
21  FairRootManager* ioman = FairRootManager::Instance();
22  TClonesArray* myArray = ioman->GetTClonesArray(fOutputBranch);
23  if (fVerbose > 1){
24  std::cout << "-I- PndMdtDigiSorterTask::AddNewDataToTClonesArray Data: " ;
25  data->Print();
26  std::cout<<std::endl;
27  }
28  (*myArray)[myArray->GetEntries()] = data;
29 }
30 
31 FairRingSorter* PndMdtDigiSorterTask::InitSorter(Int_t numberOfCells, Double_t widthOfCells) const{
32  return new PndMdtDigiRingSorter(numberOfCells, widthOfCells);
33 }
int fVerbose
Definition: poormantracks.C:24
virtual void AddNewDataToTClonesArray(FairTimeStamp *data)
ClassImp(PndMdtDigiSorterTask)
Double_t
virtual FairRingSorter * InitSorter(Int_t numberOfCells, Double_t widthOfCells) const