PandaRoot
PndSdsIdealClusterTask Class Reference

#include <PndSdsIdealClusterTask.h>

Inheritance diagram for PndSdsIdealClusterTask:
PndSdsTask PndPersistencyTask PndLmdIdealClusterTask PndMvdIdealClusterTask

Public Member Functions

 PndSdsIdealClusterTask ()
 
 PndSdsIdealClusterTask (Double_t radius, Int_t FEcolumns, Int_t FErows, TString geoFile)
 
 PndSdsIdealClusterTask (PndSdsIdealClusterTask &other)
 
virtual ~PndSdsIdealClusterTask ()
 
PndSdsIdealClusterTaskoperator= (PndSdsIdealClusterTask &other)
 
virtual void SetParContainers ()
 
virtual InitStatus Init ()
 
virtual InitStatus ReInit ()
 
virtual void SetInBranchId ()
 
virtual void Exec (Option_t *opt)
 
- Public Member Functions inherited from PndSdsTask
 PndSdsTask ()
 
 PndSdsTask (const char *name, Int_t iVerbose=1)
 
virtual ~PndSdsTask ()
 
virtual void SetBranchNames ()=0
 
- Public Member Functions inherited from PndPersistencyTask
 PndPersistencyTask ()
 
 PndPersistencyTask (const char *name, Int_t iVerbose=1)
 
virtual ~PndPersistencyTask ()
 
void SetPersistency (Bool_t val=kTRUE)
 
Bool_t GetPersistency ()
 

Protected Member Functions

void Register ()
 
void Reset ()
 
void ProduceHits ()
 
 ClassDef (PndSdsIdealClusterTask, 1)
 
- Protected Member Functions inherited from PndSdsTask
 ClassDef (PndSdsTask, 1)
 

Protected Attributes

TClonesArray * fDigiArray
 
TString fClustBranchName
 
Int_t fClusterType
 
TClonesArray * fClusterArray
 
TClonesArray * fHitArray
 
PndGeoHandlingfGeoH
 
Double_t fRadius
 
Int_t fFEcolumns
 
Int_t fFErows
 
TString fGeoFile
 
PndSdsIdealPixelClusterFinderfinder
 
PndSdsChargeWeightedPixelMappingmapping
 
- Protected Attributes inherited from PndSdsTask
TString fInBranchName
 
TString fOutBranchName
 
TString fFolderName
 
Int_t fInBranchId
 
Int_t fOutBranchId
 

Detailed Description

Definition at line 34 of file PndSdsIdealClusterTask.h.

Constructor & Destructor Documentation

◆ PndSdsIdealClusterTask() [1/3]

PndSdsIdealClusterTask::PndSdsIdealClusterTask ( )

Default constructor

◆ PndSdsIdealClusterTask() [2/3]

PndSdsIdealClusterTask::PndSdsIdealClusterTask ( Double_t  radius,
Int_t  FEcolumns,
Int_t  FErows,
TString  geoFile 
)

◆ PndSdsIdealClusterTask() [3/3]

PndSdsIdealClusterTask::PndSdsIdealClusterTask ( PndSdsIdealClusterTask other)
inline

Definition at line 39 of file PndSdsIdealClusterTask.h.

References ~PndSdsIdealClusterTask().

41  fHitArray(other.fHitArray), fGeoH(other.fGeoH), fRadius(other.fRadius), fFEcolumns(other.fFEcolumns), fFErows(other.fFErows), fGeoFile(other.fGeoFile), finder(other.finder),
42  mapping(other.mapping){};
PndSdsIdealPixelClusterFinder * finder
PndSdsChargeWeightedPixelMapping * mapping

◆ ~PndSdsIdealClusterTask()

virtual PndSdsIdealClusterTask::~PndSdsIdealClusterTask ( )
virtual

Destructor

Referenced by PndSdsIdealClusterTask().

Member Function Documentation

◆ ClassDef()

PndSdsIdealClusterTask::ClassDef ( PndSdsIdealClusterTask  ,
 
)
protected

◆ Exec()

virtual void PndSdsIdealClusterTask::Exec ( Option_t *  opt)
virtual

Virtual method Exec

Referenced by SetInBranchId().

◆ Init()

virtual InitStatus PndSdsIdealClusterTask::Init ( )
virtual

Referenced by operator=().

◆ operator=()

PndSdsIdealClusterTask& PndSdsIdealClusterTask::operator= ( PndSdsIdealClusterTask other)
inline

Definition at line 45 of file PndSdsIdealClusterTask.h.

References fClustBranchName, fClusterArray, fClusterType, fDigiArray, fFEcolumns, fFErows, fGeoFile, fGeoH, fHitArray, finder, fRadius, Init(), mapping, ReInit(), and SetParContainers().

46  {
47  fDigiArray = other.fDigiArray;
49  fClusterType = other.fClusterType;
51  fHitArray = other.fHitArray;
52  fGeoH = other.fGeoH;
53  fRadius = other.fRadius;
54  fFEcolumns = other.fFEcolumns;
55  fFErows = other.fFErows;
56  fGeoFile = other.fGeoFile;
57  finder = other.finder;
58  mapping = other.mapping;
59  return *this;
60  };
PndSdsIdealPixelClusterFinder * finder
PndSdsChargeWeightedPixelMapping * mapping

◆ ProduceHits()

void PndSdsIdealClusterTask::ProduceHits ( )
protected

◆ Register()

void PndSdsIdealClusterTask::Register ( )
protected

◆ ReInit()

virtual InitStatus PndSdsIdealClusterTask::ReInit ( )
virtual

Referenced by operator=().

◆ Reset()

void PndSdsIdealClusterTask::Reset ( )
protected

◆ SetInBranchId()

virtual void PndSdsIdealClusterTask::SetInBranchId ( )
inlinevirtual

Reimplemented from PndSdsTask.

Definition at line 71 of file PndSdsIdealClusterTask.h.

References Exec(), fClustBranchName, fClusterType, PndSdsTask::fInBranchId, and PndSdsTask::fInBranchName.

72  {
73  FairRootManager *ioman = FairRootManager::Instance();
74  fInBranchId = ioman->GetBranchId(fInBranchName);
75  std::cout << "InBranchId: " << fInBranchId << " for Branch: " << fInBranchName.Data() << std::endl;
76  fClusterType = ioman->GetBranchId(fClustBranchName);
77  }
Int_t fInBranchId
Definition: PndSdsTask.h:38
TString fInBranchName
Definition: PndSdsTask.h:34

◆ SetParContainers()

virtual void PndSdsIdealClusterTask::SetParContainers ( )
virtual

pure virtual method SetBranchNames

called by Init() function to set individual branch namesVirtual method Init

Reimplemented in PndMvdIdealClusterTask.

Referenced by operator=().

Member Data Documentation

◆ fClustBranchName

TString PndSdsIdealClusterTask::fClustBranchName
protected

Definition at line 86 of file PndSdsIdealClusterTask.h.

Referenced by operator=(), and SetInBranchId().

◆ fClusterArray

TClonesArray* PndSdsIdealClusterTask::fClusterArray
protected

Output array of PndSdsHits

Definition at line 90 of file PndSdsIdealClusterTask.h.

Referenced by operator=().

◆ fClusterType

Int_t PndSdsIdealClusterTask::fClusterType
protected

Definition at line 87 of file PndSdsIdealClusterTask.h.

Referenced by operator=(), and SetInBranchId().

◆ fDigiArray

TClonesArray* PndSdsIdealClusterTask::fDigiArray
protected

Input array of PndSdsDigis

Definition at line 84 of file PndSdsIdealClusterTask.h.

Referenced by operator=().

◆ fFEcolumns

Int_t PndSdsIdealClusterTask::fFEcolumns
protected

Definition at line 102 of file PndSdsIdealClusterTask.h.

Referenced by operator=().

◆ fFErows

Int_t PndSdsIdealClusterTask::fFErows
protected

Definition at line 103 of file PndSdsIdealClusterTask.h.

Referenced by operator=().

◆ fGeoFile

TString PndSdsIdealClusterTask::fGeoFile
protected

Definition at line 104 of file PndSdsIdealClusterTask.h.

Referenced by operator=().

◆ fGeoH

PndGeoHandling* PndSdsIdealClusterTask::fGeoH
protected

Definition at line 95 of file PndSdsIdealClusterTask.h.

Referenced by operator=().

◆ fHitArray

TClonesArray* PndSdsIdealClusterTask::fHitArray
protected

Definition at line 91 of file PndSdsIdealClusterTask.h.

Referenced by operator=().

◆ finder

PndSdsIdealPixelClusterFinder* PndSdsIdealClusterTask::finder
protected

Definition at line 111 of file PndSdsIdealClusterTask.h.

Referenced by operator=().

◆ fRadius

Double_t PndSdsIdealClusterTask::fRadius
protected

Definition at line 101 of file PndSdsIdealClusterTask.h.

Referenced by operator=().

◆ mapping

PndSdsChargeWeightedPixelMapping* PndSdsIdealClusterTask::mapping
protected

Definition at line 112 of file PndSdsIdealClusterTask.h.

Referenced by operator=().


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