37 #ifndef PNDSTDCONSTCONTAINER_HH 38 #define PNDSTDCONSTCONTAINER_HH 45 #include "FairLogger.h" 46 #include "FairRootManager.h" 81 if (fSTD !=
nullptr) {
82 return &(fSTD->at(t_idx));
95 if (fSTD !=
nullptr) {
105 void SetData(std::vector<T>
const *t_container) { fSTD = t_container; }
112 std::vector<T>
const *
GetData() {
return fSTD; }
115 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.