FairRoot/PandaRoot
Public Member Functions | List of all members
PndSdsDigiPixelSorterTask Class Reference

#include <PndSdsDigiPixelSorterTask.h>

Inheritance diagram for PndSdsDigiPixelSorterTask:

Public Member Functions

 PndSdsDigiPixelSorterTask ()
 
 PndSdsDigiPixelSorterTask (const char *name)
 
 PndSdsDigiPixelSorterTask (Int_t numberOfCells, Double_t widthOfCells, TString inputBranch, TString outputBranch, TString folderName)
 
virtual ~PndSdsDigiPixelSorterTask ()
 
virtual void AddNewDataToTClonesArray (FairTimeStamp *data)
 
virtual FairRingSorter * InitSorter (Int_t numberOfCells, Double_t widthOfCells) const
 
 ClassDef (PndSdsDigiPixelSorterTask, 1)
 

Detailed Description

Definition at line 14 of file PndSdsDigiPixelSorterTask.h.

Constructor & Destructor Documentation

PndSdsDigiPixelSorterTask::PndSdsDigiPixelSorterTask ( )

Definition at line 17 of file PndSdsDigiPixelSorterTask.cxx.

17  {
18  // TODO Auto-generated constructor stub
19 
20 }
PndSdsDigiPixelSorterTask::PndSdsDigiPixelSorterTask ( const char *  name)
inline

Definition at line 17 of file PndSdsDigiPixelSorterTask.h.

17 :FairRingSorterTask(name){};
TString name
PndSdsDigiPixelSorterTask::PndSdsDigiPixelSorterTask ( Int_t  numberOfCells,
Double_t  widthOfCells,
TString  inputBranch,
TString  outputBranch,
TString  folderName 
)
inline

Definition at line 18 of file PndSdsDigiPixelSorterTask.h.

18  :
19  FairRingSorterTask(numberOfCells, widthOfCells, inputBranch, outputBranch, folderName){};
PndSdsDigiPixelSorterTask::~PndSdsDigiPixelSorterTask ( )
virtual

Definition at line 22 of file PndSdsDigiPixelSorterTask.cxx.

22  {
23  // TODO Auto-generated destructor stub
24 }

Member Function Documentation

void PndSdsDigiPixelSorterTask::AddNewDataToTClonesArray ( FairTimeStamp *  data)
virtual

Definition at line 27 of file PndSdsDigiPixelSorterTask.cxx.

References fVerbose.

28 {
29  FairRootManager* ioman = FairRootManager::Instance();
30  TClonesArray* myArray = ioman->GetTClonesArray(fOutputBranch);
31  if (fVerbose > 1){
32  std::cout << "-I- PndSdsDigiPixelSorterTask::AddNewDataToTClonesArray Data: " ;
33  std::cout << *(PndSdsDigiPixel*)(data) << std::endl;
34  }
35  new ((*myArray)[myArray->GetEntries()]) PndSdsDigiPixel(*(PndSdsDigiPixel*)(data));
36 }
int fVerbose
Definition: poormantracks.C:24
Data class to store the digi output of a pixel module.
PndSdsDigiPixelSorterTask::ClassDef ( PndSdsDigiPixelSorterTask  ,
 
)
FairRingSorter * PndSdsDigiPixelSorterTask::InitSorter ( Int_t  numberOfCells,
Double_t  widthOfCells 
) const
virtual

Definition at line 38 of file PndSdsDigiPixelSorterTask.cxx.

38  {
39  return new PndSdsDigiPixelRingSorter(numberOfCells, widthOfCells);
40 }

The documentation for this class was generated from the following files: