![]() |
PandaRoot
|
PndSTDInputContainer implementation of PndInputContainerI<T> for FairRootManager and std::vector<T> More...
#include <PndSTDInputContainer.h>
Public Member Functions | |
PndSTDInputContainer () | |
Construct a new PndSTDInputContainer object. More... | |
virtual | ~PndSTDInputContainer () |
Destroy the PndSTDInputContainer object. More... | |
virtual Bool_t | Init (const TString &t_branchname) final |
Retrieve t_branchname as std::vector<T> const * from FairRootManager. More... | |
virtual T const * | GetElement (Int_t t_idx) const final |
Get the t_idx Element. More... | |
virtual ssize_t | GetSize () const final |
Get the number of elements. More... | |
void | SetData (std::vector< T > const *t_container) |
Set the Data. More... | |
std::vector< T > const * | GetData () |
Get the Data. 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... | |
Additional Inherited Members | |
![]() | |
TString | fBranchName {""} |
PndSTDInputContainer implementation of PndInputContainerI<T> for FairRootManager and std::vector<T>
Input data retrieved from FairRootManager is immutable (std::vector<T> const *)
T |
Definition at line 39 of file PndSTDInputContainer.h.
|
inline |
|
inlinevirtual |
Destroy the PndSTDInputContainer object.
Definition at line 50 of file PndSTDInputContainer.h.
|
inline |
|
inlinefinalvirtual |
Get the t_idx Element.
t_idx |
Implements PndInputContainerI< T >.
Definition at line 83 of file PndSTDInputContainer.h.
|
inlinefinalvirtual |
Get the number of elements.
Implements PndContainerI< T >.
Definition at line 97 of file PndSTDInputContainer.h.
|
inlinefinalvirtual |
Retrieve t_branchname as std::vector<T> const * from FairRootManager.
t_branchname |
Implements PndContainerI< T >.
Definition at line 57 of file PndSTDInputContainer.h.
References PndContainerI< T >::fBranchName.
|
inline |