15 #ifndef PNDTCACONSTCONTAINER_HH 16 #define PNDTCACONSTCONTAINER_HH 21 #include "TClonesArray.h" 24 #include "FairLogger.h" 25 #include "FairRootManager.h" 60 if (
fTCA !=
nullptr) {
61 return static_cast<T *
>(
fTCA->At(t_idx));
73 if (
fTCA !=
nullptr) {
74 return fTCA->GetEntriesFast();
94 TClonesArray *
fTCA{
nullptr};
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.