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

#include <PndEmcDigiSorterTask.h>

Inheritance diagram for PndEmcDigiSorterTask:

Public Member Functions

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

Detailed Description

Definition at line 11 of file PndEmcDigiSorterTask.h.

Constructor & Destructor Documentation

PndEmcDigiSorterTask::PndEmcDigiSorterTask ( )

Definition at line 14 of file PndEmcDigiSorterTask.cxx.

14  {
15 }
PndEmcDigiSorterTask::PndEmcDigiSorterTask ( const char *  name)
inline

Definition at line 14 of file PndEmcDigiSorterTask.h.

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

Definition at line 15 of file PndEmcDigiSorterTask.h.

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

Definition at line 17 of file PndEmcDigiSorterTask.cxx.

17  {
18 }

Member Function Documentation

void PndEmcDigiSorterTask::AddNewDataToTClonesArray ( FairTimeStamp *  data)
virtual

Definition at line 21 of file PndEmcDigiSorterTask.cxx.

References fVerbose.

22 {
23  FairRootManager* ioman = FairRootManager::Instance();
24  TClonesArray* myArray = ioman->GetTClonesArray(fOutputBranch);
25  if (fVerbose > 1){
26  std::cout << "-I- PndEmcDigiSorterTask::AddNewDataToTClonesArray Data: " ;
27  std::cout << *(PndEmcDigi*)(data) << std::endl;
28  }
29  new ((*myArray)[myArray->GetEntries()]) PndEmcDigi(*(PndEmcDigi*)(data));
30 }
int fVerbose
Definition: poormantracks.C:24
represents the reconstructed hit of one emc crystal
Definition: PndEmcDigi.h:40
PndEmcDigiSorterTask::ClassDef ( PndEmcDigiSorterTask  ,
 
)
FairRingSorter * PndEmcDigiSorterTask::InitSorter ( Int_t  numberOfCells,
Double_t  widthOfCells 
) const
virtual

Definition at line 32 of file PndEmcDigiSorterTask.cxx.

32  {
33  return new PndEmcDigiRingSorter(numberOfCells, widthOfCells);
34 }

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