27 #ifndef PNDTCACONSTCONTAINER_HH 28 #define PNDTCACONSTCONTAINER_HH 33 #include "TClonesArray.h" 36 #include "FairLogger.h" 37 #include "FairRootManager.h" 72 if (
fTCA !=
nullptr) {
73 return static_cast<T *
>(
fTCA->At(t_idx));
85 if (
fTCA !=
nullptr) {
86 return fTCA->GetEntriesFast();
PndTCAConstContainer()
Construct a new PndTCAConstContainer object.
void SetTCA(TClonesArray *t_tca)
Set the TClonesArray address.
virtual ~PndTCAConstContainer()
Destroy the PndTCAConstContainer object.
virtual ssize_t GetSize() const final
Get the number of elements.
TClonesArray * GetTCA()
Get the TClonesArray address.
PndTCAConstContainer implementation of PndConstContainerI<T> for FairRootManager and TClonesArray...
virtual T const * GetElement(Int_t t_idx) const final
Get pointer to the t_idx-th element.