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

#include <PndMvdPixelDigiSorterTask.h>

Inheritance diagram for PndMvdPixelDigiSorterTask:

Public Member Functions

 PndMvdPixelDigiSorterTask ()
 
 PndMvdPixelDigiSorterTask (Int_t numberOfCells, Double_t widthOfCells)
 
virtual ~PndMvdPixelDigiSorterTask ()
 
virtual void SetParContainers ()
 
virtual InitStatus Init ()
 
void SetBranchNames (TString inBranchname, TString outBranchname, TString folderName)
 
virtual void SetBranchNames ()
 
 ClassDef (PndMvdPixelDigiSorterTask, 1)
 

Detailed Description

PndMvdPixelDigiSorterTask.h

Definition at line 12 of file PndMvdPixelDigiSorterTask.h.

Constructor & Destructor Documentation

PndMvdPixelDigiSorterTask::PndMvdPixelDigiSorterTask ( )

Default constructor

Definition at line 12 of file PndMvdPixelDigiSorterTask.cxx.

References fVerbose.

12  :
13  PndSdsPixelDigiSorterTask("MVD Pixel Digi Sorter")
14 {
15 
16  fOverwriteParams = kFALSE;
17  fPersistance = kTRUE;
18  if(fVerbose>2) std::cout << "MVD Pixel Digi Sorter created, Parameters will be taken from RTDB" << std::endl;
19 
20 }
int fVerbose
Definition: poormantracks.C:24
PndMvdPixelDigiSorterTask::PndMvdPixelDigiSorterTask ( Int_t  numberOfCells,
Double_t  widthOfCells 
)

Definition at line 22 of file PndMvdPixelDigiSorterTask.cxx.

References fVerbose.

22  :
23  PndSdsPixelDigiSorterTask(numberOfCells, widthOfCells)
24 {
25 
26  fOverwriteParams = kTRUE;
27  fPersistance = kTRUE;
28  if(fVerbose>2) std::cout << "MVD Pixel Digi Sorter created, Parameters will be taken from RTDB" << std::endl;
29 
30 }
int fVerbose
Definition: poormantracks.C:24
PndMvdPixelDigiSorterTask::~PndMvdPixelDigiSorterTask ( )
virtual

Destructor

Definition at line 34 of file PndMvdPixelDigiSorterTask.cxx.

35 {
36 }

Member Function Documentation

PndMvdPixelDigiSorterTask::ClassDef ( PndMvdPixelDigiSorterTask  ,
 
)
InitStatus PndMvdPixelDigiSorterTask::Init ( )
virtual

Definition at line 39 of file PndMvdPixelDigiSorterTask.cxx.

References Init(), and status.

40 {
42  return status;
43 }
fRun Init()
Definition: NHitsPerEvent.C:20
int status[10]
Definition: f_Init.h:28
void PndMvdPixelDigiSorterTask::SetBranchNames ( TString  inBranchname,
TString  outBranchname,
TString  folderName 
)

Specify the branch & folder names for the I/O

Definition at line 57 of file PndMvdPixelDigiSorterTask.cxx.

58 {
59  fInBranchName = inBranchname;
60  fOutBranchName = outBranchname;
61  fFolderName = folderName;
62  SetInBranchId();
63 }
void PndMvdPixelDigiSorterTask::SetBranchNames ( )
virtual

Take default naming

Definition at line 66 of file PndMvdPixelDigiSorterTask.cxx.

References fVerbose.

67 {
68  if(fVerbose>1) Info("SetBranchNames","Set Mvd Pixel names.");
69  fInBranchName = "MVDPixelDigis";
70  fOutBranchName = "MVDSortedPixelDigis";
71  fFolderName = "PndMvd";
72  SetInBranchId();
73 }
int fVerbose
Definition: poormantracks.C:24
void PndMvdPixelDigiSorterTask::SetParContainers ( )
virtual

Specific Parameter set loading

Definition at line 46 of file PndMvdPixelDigiSorterTask.cxx.

References rtdb.

47 {
48  // called before Init()
49  // Get Base Container
50  FairRun* ana = FairRun::Instance();
51  FairRuntimeDb* rtdb=ana->GetRuntimeDb();
52  fDigiPar = (PndSdsPixelDigiPar*)(rtdb->getContainer("MVDPixelDigiPar"));
53  PndSdsPixelDigiSorterTask::SetParContainers();
54 }
FairRuntimeDb * rtdb
Definition: hit_dirc.C:66
Digitization Parameter Class for SDS-Pixel part.

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