#include <PndInputContainer.h>
template<class T>
class PndInputContainer< T >
Definition at line 24 of file PndInputContainer.h.
◆ PndInputContainer()
Construct a new PndInputContainer object.
- Parameters
-
const | TString &t_foldername : Name of folder |
Bool_t | t_persistency : Should date be stored to file |
Definition at line 33 of file PndInputContainer.h.
◆ ~PndInputContainer()
◆ GetElement()
◆ GetSize()
◆ Init()
Init internal data.
- Parameters
-
const | TString &t_branchname - Name of databranch that is to be fetched |
Implements PndContainerI< T >.
Definition at line 46 of file PndInputContainer.h.
Referenced by TestInTask::Init(), and TestPeekTask::Init().
49 this->
fImp.reset(
nullptr);
53 success =
TrySTD(t_branchname);
56 this->
fImp.reset(
nullptr);
60 LOG(error) <<
"PndInputContainer<" << T().ClassName() <<
">::Init(" << t_branchname <<
"): No " << T().ClassName() <<
" array with name " << t_branchname <<
" found!";
static const UInt_t success
◆ TrySTD()
Tries to find a registered const std::vector<T>* with name t_branchname. Returns kTRUE on success.
- Parameters
-
- Returns
- Bool_t
Definition at line 90 of file PndInputContainer.h.
Referenced by PndInputContainer< BSEmcMCPoint >::Init().
92 if (FairRootManager::Instance()->CheckBranch(t_branchname) ==
99 LOG(debug) <<
"No std::vector<T> branch called " << t_branchname <<
" registered with the FairRootManager.";
100 this->
fImp.reset(
nullptr);
102 LOG(debug) <<
"Found std::vector<T> TClonesArray branch called " << t_branchname <<
" registered with the FairRootManager.";
static const UInt_t success
◆ TryTCA()
Tries to find a registered TClonesArray with name t_branchname. Returns kTRUE on success.
- Parameters
-
- Returns
- Bool_t
Definition at line 71 of file PndInputContainer.h.
Referenced by PndInputContainer< BSEmcMCPoint >::Init().
76 LOG(debug) <<
"No TClonesArray branch called " << t_branchname <<
" registered with the FairRootManager. ";
77 this->
fImp.reset(
nullptr);
79 LOG(debug) <<
"Found input TClonesArray branch called " << t_branchname <<
" registered with the FairRootManager.";
static const UInt_t success
◆ fImp
The documentation for this class was generated from the following file: