FairRoot/PandaRoot
PndMvdTopix4RingSorterTask.cxx
Go to the documentation of this file.
1 /*
2  * PndMvdTopix4RingSorterTask.cxx
3  *
4  * Created on: Sep 9, 2011
5  * Author: stockman
6  */
7 
10 
11 #include "PndSdsDigiTopix4.h"
12 #include "TClonesArray.h"
13 
15 
17  // TODO Auto-generated constructor stub
18 
19 }
20 
22  // TODO Auto-generated destructor stub
23 }
24 
25 
27 {
28  FairRootManager* ioman = FairRootManager::Instance();
29  TClonesArray* myArray = ioman->GetTClonesArray(fOutputBranch);
30  if (fVerbose > 1){
31  std::cout << "-I- PndMvdTopix4RingSorterTask::AddNewDataToTClonesArray Data: " ;
32  std::cout << *(PndSdsDigiTopix4*)(data) << std::endl;
33  }
34  new ((*myArray)[myArray->GetEntries()]) PndSdsDigiTopix4(*(PndSdsDigiTopix4*)(data));
35 }
36 
37 FairRingSorter* PndMvdTopix4RingSorterTask::InitSorter(Int_t numberOfCells, Double_t widthOfCells) const{
38  return new PndMvdTopix4RingSorter(numberOfCells, widthOfCells);
39 }
int fVerbose
Definition: poormantracks.C:24
Data class to store the digi output of a pixel module.
Double_t
virtual FairRingSorter * InitSorter(Int_t numberOfCells, Double_t widthOfCells) const
virtual void AddNewDataToTClonesArray(FairTimeStamp *data)
ClassImp(PndMvdTopix4RingSorterTask)