![]() |
PandaRoot
|
PndTCAInputContainer implementation of PndInputContainerI<T> for FairRootManager and TClonesArray. More...
#include <PndTCAInputContainer.h>
Public Member Functions | |
PndTCAInputContainer () | |
Construct a new PndTCAInputContainer object. More... | |
virtual | ~PndTCAInputContainer () |
Destroy the PndTCAInputContainer object. More... | |
virtual Bool_t | Init (const TString &t_branchname) final |
Fetch the data t_branchname in form of TClonesArray * from the FairRootManager. More... | |
virtual T const * | GetElement (Int_t t_idx) const final |
Get pointer to the t_idx-th element. More... | |
virtual ssize_t | GetSize () const final |
Get the number of elements. More... | |
void | SetTCA (TClonesArray *t_tca) |
Set the TClonesArray address. More... | |
TClonesArray * | GetTCA () |
Get the TClonesArray address. More... | |
![]() | |
PndInputContainerI () | |
Construct a new PndInputContainerI object. More... | |
virtual T const * | GetConstElementPtr (Int_t t_index) const |
Get the Element object at t_index. More... | |
std::vector< T const * > | GetVector () const |
return vector of ptrs pointing at internal data, to be used to access data independent of underlying data container More... | |
![]() | |
PndContainerI () | |
Construct a new PndContainerI object. More... | |
virtual | ~PndContainerI () |
Destroy the PndContainerI object. More... | |
std::vector< T const * > | GetVectorOfPtrToConst () const |
return vector of const ptrs pointing at internal data, to be used to access data independent of underlying data container More... | |
const TString & | GetBranchName () const |
Get the BranchName. More... | |
Protected Attributes | |
TClonesArray * | fTCA {nullptr} |
![]() | |
TString | fBranchName {""} |
PndTCAInputContainer implementation of PndInputContainerI<T> for FairRootManager and TClonesArray.
Input data retrieved from FairRootManager is immutable (TClonesArray *)
T |
Definition at line 36 of file PndTCAInputContainer.h.
|
inline |
|
inlinevirtual |
Destroy the PndTCAInputContainer object.
Definition at line 48 of file PndTCAInputContainer.h.
|
inlinefinalvirtual |
Get pointer to the t_idx-th element.
Int_t | t_idx |
Implements PndInputContainerI< T >.
Definition at line 80 of file PndTCAInputContainer.h.
|
inlinefinalvirtual |
Get the number of elements.
Implements PndContainerI< T >.
Definition at line 93 of file PndTCAInputContainer.h.
Referenced by BSEmcMCHitToTimebasedWaveforms< BSEmcBwEndcapDigiPar >::Exec().
|
inline |
Get the TClonesArray address.
Definition at line 113 of file PndTCAInputContainer.h.
|
inlinefinalvirtual |
Fetch the data t_branchname in form of TClonesArray * from the FairRootManager.
const | TString &t_branchname |
Implements PndContainerI< T >.
Definition at line 55 of file PndTCAInputContainer.h.
Referenced by BSEmcMCHitToTimebasedWaveforms< BSEmcBwEndcapDigiPar >::Init().
|
inline |
Set the TClonesArray address.
TClonesArray | *t_tca |
Definition at line 106 of file PndTCAInputContainer.h.
|
protected |
Definition at line 116 of file PndTCAInputContainer.h.
Referenced by PndTCAInputContainer< BSEmcMCHit >::GetElement(), PndTCAInputContainer< BSEmcMCHit >::GetSize(), PndTCAInputContainer< BSEmcMCHit >::GetTCA(), PndTCAInputContainer< BSEmcMCHit >::Init(), and PndTCAInputContainer< BSEmcMCHit >::SetTCA().