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

#include <PndMdtDigiSorterTask.h>

Inheritance diagram for PndMdtDigiSorterTask:

Public Member Functions

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

Detailed Description

Definition at line 11 of file PndMdtDigiSorterTask.h.

Constructor & Destructor Documentation

PndMdtDigiSorterTask::PndMdtDigiSorterTask ( )

Definition at line 12 of file PndMdtDigiSorterTask.cxx.

12  {
13 }
PndMdtDigiSorterTask::PndMdtDigiSorterTask ( const char *  name)
inline

Definition at line 14 of file PndMdtDigiSorterTask.h.

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

Definition at line 15 of file PndMdtDigiSorterTask.h.

15  :
16  FairRingSorterTask(numberOfCells, widthOfCells, inputBranch, outputBranch, folderName){};
PndMdtDigiSorterTask::~PndMdtDigiSorterTask ( )
virtual

Definition at line 15 of file PndMdtDigiSorterTask.cxx.

15  {
16 }

Member Function Documentation

void PndMdtDigiSorterTask::AddNewDataToTClonesArray ( FairTimeStamp *  data)
virtual

Definition at line 19 of file PndMdtDigiSorterTask.cxx.

References fVerbose.

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 }
int fVerbose
Definition: poormantracks.C:24
PndMdtDigiSorterTask::ClassDef ( PndMdtDigiSorterTask  ,
 
)
FairRingSorter * PndMdtDigiSorterTask::InitSorter ( Int_t  numberOfCells,
Double_t  widthOfCells 
) const
virtual

Definition at line 31 of file PndMdtDigiSorterTask.cxx.

31  {
32  return new PndMdtDigiRingSorter(numberOfCells, widthOfCells);
33 }

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