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

#include <PndSdsDigiStripSorterTask.h>

Inheritance diagram for PndSdsDigiStripSorterTask:

Public Member Functions

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

Detailed Description

Definition at line 13 of file PndSdsDigiStripSorterTask.h.

Constructor & Destructor Documentation

PndSdsDigiStripSorterTask::PndSdsDigiStripSorterTask ( )

Definition at line 17 of file PndSdsDigiStripSorterTask.cxx.

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

Definition at line 16 of file PndSdsDigiStripSorterTask.h.

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

Definition at line 17 of file PndSdsDigiStripSorterTask.h.

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

Definition at line 22 of file PndSdsDigiStripSorterTask.cxx.

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

Member Function Documentation

void PndSdsDigiStripSorterTask::AddNewDataToTClonesArray ( FairTimeStamp *  data)
virtual

Definition at line 27 of file PndSdsDigiStripSorterTask.cxx.

References fVerbose.

28 {
29  FairRootManager* ioman = FairRootManager::Instance();
30  TClonesArray* myArray = ioman->GetTClonesArray(fOutputBranch);
31  if (fVerbose > 1){
32  std::cout << "-I- PndSdsDigiStripSorterTask::AddNewDataToTClonesArray Data: " ;
33  std::cout << *(PndSdsDigiStrip*)(data) << std::endl;
34  }
35  new ((*myArray)[myArray->GetEntries()]) PndSdsDigiStrip(*(PndSdsDigiStrip*)(data));
36 }
int fVerbose
Definition: poormantracks.C:24
Class for digitised strip hits.
PndSdsDigiStripSorterTask::ClassDef ( PndSdsDigiStripSorterTask  ,
 
)
FairRingSorter * PndSdsDigiStripSorterTask::InitSorter ( Int_t  numberOfCells,
Double_t  widthOfCells 
) const
virtual

Definition at line 38 of file PndSdsDigiStripSorterTask.cxx.

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

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