![]() |
PandaRoot
|
Input and Output Container implementation of PndInputContainerI using an underlying std::vector<T> (const)*. More...
#include <stdexcept>
#include <vector>
#include "TString.h"
#include "FairLogger.h"
#include "FairRootManager.h"
#include "PndInputContainerI.h"
Go to the source code of this file.
Classes | |
class | PndSTDInputContainer< T > |
PndSTDInputContainer implementation of PndInputContainerI<T> for FairRootManager and std::vector<T> More... | |
Input and Output Container implementation of PndInputContainerI using an underlying std::vector<T> (const)*.
PndSTDInputContainer<T> causes some issues. We cannot implement std::vector<T *> GetVector() in PndInputContainerI without T * GetElement(Int_t t_idx) on the std::vector<T> const * fSTD which is why we had to implement an ugly workaround by copying fSTD into a persistent helper vector<T> and pass that address in GetElement. InputContainer should not be changed anyhow, but this is definitely odd.
Definition in file PndSTDInputContainer.h.