![]() |
PandaRoot
|
PndTCAConstContainer implementation of PndConstContainerI<T> for FairRootManager and TClonesArray. More...
#include <PndTCAConstContainer.h>
Public Member Functions | |
PndTCAConstContainer () | |
Construct a new PndTCAConstContainer object. More... | |
virtual | ~PndTCAConstContainer () |
Destroy the PndTCAConstContainer object. 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... | |
![]() | |
PndConstContainerI () | |
Construct a new PndConstContainerI 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... | |
TString | GetClassName () const |
![]() | |
PndContainerBaseI () | |
Construct a new PndContainerBaseI object. More... | |
virtual | ~PndContainerBaseI () |
Destroy the PndContainerBaseI object. More... | |
const TString & | GetBranchName () const |
Get the BranchName. More... | |
void | SetBranchName (const TString &t_branchname) |
Set the Branch Name. More... | |
Protected Attributes | |
TClonesArray * | fTCA {nullptr} |
![]() | |
TString | fBranchName {""} |
PndTCAConstContainer implementation of PndConstContainerI<T> for FairRootManager and TClonesArray.
Input data retrieved from FairRootManager is immutable (TClonesArray *)
T |
Definition at line 38 of file PndTCAConstContainer.h.
|
inline |
|
inlinevirtual |
Destroy the PndTCAConstContainer object.
Definition at line 50 of file PndTCAConstContainer.h.
|
inlinefinalvirtual |
Get pointer to the t_idx-th element.
Int_t | t_idx |
Implements PndConstContainerI< T >.
Definition at line 58 of file PndTCAConstContainer.h.
|
inlinefinalvirtual |
Get the number of elements.
Implements PndContainerBaseI.
Definition at line 71 of file PndTCAConstContainer.h.
Referenced by BSEmcMCDepositToTimebasedWaveforms< BSEmcBwEndcapDigiPar >::Exec().
|
inline |
Get the TClonesArray address.
Definition at line 91 of file PndTCAConstContainer.h.
|
inline |
Set the TClonesArray address.
TClonesArray | *t_tca |
Definition at line 84 of file PndTCAConstContainer.h.
Referenced by PndProcessTask::HandledRequest(), and BSEmcMCDepositToTimebasedWaveforms< BSEmcBwEndcapDigiPar >::Init().
|
protected |