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

#include <PndDrcDigiSorterTask.h>

Inheritance diagram for PndDrcDigiSorterTask:

Public Member Functions

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

Detailed Description

Definition at line 20 of file PndDrcDigiSorterTask.h.

Constructor & Destructor Documentation

PndDrcDigiSorterTask::PndDrcDigiSorterTask ( )

Definition at line 19 of file PndDrcDigiSorterTask.cxx.

19  {
20  // TODO Auto-generated constructor stub
21 
22 }
PndDrcDigiSorterTask::PndDrcDigiSorterTask ( const char *  name)
inline

Definition at line 23 of file PndDrcDigiSorterTask.h.

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

Definition at line 24 of file PndDrcDigiSorterTask.h.

24  :
25  FairRingSorterTask(numberOfCells, widthOfCells, inputBranch, outputBranch, folderName){};
PndDrcDigiSorterTask::~PndDrcDigiSorterTask ( )
virtual

Definition at line 24 of file PndDrcDigiSorterTask.cxx.

24  {
25  // TODO Auto-generated destructor stub
26 }

Member Function Documentation

void PndDrcDigiSorterTask::AddNewDataToTClonesArray ( FairTimeStamp *  data)
virtual

Definition at line 29 of file PndDrcDigiSorterTask.cxx.

References fVerbose.

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

Definition at line 40 of file PndDrcDigiSorterTask.cxx.

40  {
41  return new PndDrcDigiRingSorter(numberOfCells, widthOfCells);
42 }

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