25 #ifndef PNDSTDCONSTCONTAINER_HH 26 #define PNDSTDCONSTCONTAINER_HH 33 #include "FairLogger.h" 34 #include "FairRootManager.h" 69 if (fSTD !=
nullptr) {
70 return &(fSTD->at(t_idx));
83 if (fSTD !=
nullptr) {
93 void SetData(std::vector<T>
const *t_container) { fSTD = t_container; }
100 std::vector<T>
const *
GetData() {
return fSTD; }
103 std::vector<T>
const *fSTD{
nullptr};
PndSTDConstContainer implementation of PndConstContainerI<T> for FairRootManager and std::vector<T> ...
virtual ~PndSTDConstContainer()
Destroy the PndSTDConstContainer object.
virtual ssize_t GetSize() const final
Get the number of elements.
PndSTDConstContainer()
Construct a new PndSTDConstContainer object.
std::vector< T > const * GetData()
Get the Data.
void SetData(std::vector< T > const *t_container)
Set the Data.
virtual T const * GetElement(Int_t t_idx) const final
Get the t_idx Element.