![]() |
PandaRoot
|
#include <PndOutputContainer.h>
Public Member Functions | |
PndOutputContainer (const TString &t_foldername="", Bool_t t_persistency=kTRUE) | |
Construct a new PndOutputContainer object. More... | |
virtual | ~PndOutputContainer () |
Destroy the PndOutputContainer object. More... | |
virtual Bool_t | Init (const TString &t_branchname) |
Init internal data. More... | |
Bool_t | TrySTD (const TString &t_branchname) |
Create a std::vector based outputcontainer and register/init it with the FairRootManager. More... | |
Bool_t | TryTCA (const TString &t_branchname) |
Create a TClonesArray based outputcontainer and register/init it with the FairRootManager. More... | |
virtual void | Reset () final |
Reset data. More... | |
virtual T * | CreateCopy (const T &t_data) final |
Create a copy of t_data in internal data and return ptr to it. More... | |
virtual void | RemoveAt (Int_t t_index) final |
Delete object at t_index in internal data. More... | |
virtual ssize_t | GetSize () const final |
Get the number of members in internal data. More... | |
virtual T * | GetElement (Int_t t_index) const final |
Get the Element object at t_index. More... | |
virtual void | Compress () |
Compress. More... | |
![]() | |
PndOutputContainerI (const TString &t_foldername="", Bool_t t_persistency=kTRUE) | |
Construct a new PndOutputContainerI object. More... | |
fFolderName (t_foldername) | |
fPersistency (t_persistency) | |
virtual | ~PndOutputContainerI () |
Destroy the PndOutputContainerI object. More... | |
virtual T const * | GetConstElementPtr (Int_t t_index) const |
Get the Element object at t_index. More... | |
std::vector< T * > | GetVector () const |
return vector of ptrs pointing at internal data, to be used to access data independent of underlying data container More... | |
void | SetFolderName (const TString &t_foldername) |
Set the FolderName. More... | |
void | SetPersistency (Bool_t t_persistency) |
Set the Persistency of the data. More... | |
const TString & | GetFolderName () const |
Get the Folder Name. More... | |
Bool_t | GetPersistency () const |
Get the Persistency of the data. More... | |
![]() | |
PndContainerI () | |
Construct a new PndContainerI object. More... | |
virtual | ~PndContainerI () |
Destroy the PndContainerI object. More... | |
std::vector< T const * > | GetVectorOfPtrToConst () const |
return vector of const ptrs pointing at internal data, to be used to access data independent of underlying data container More... | |
const TString & | GetBranchName () const |
Get the BranchName. More... | |
Protected Attributes | |
std::unique_ptr< PndOutputContainerI< T > > | fImp {nullptr} |
![]() | |
TString | fFolderName {""} |
Bool_t | fPersistency {kFALSE} |
![]() | |
TString | fBranchName {""} |
Definition at line 24 of file PndOutputContainer.h.
|
inline |
Construct a new PndOutputContainer object.
const | TString &t_foldername : Name of folder |
Bool_t | t_persistency : Should date be stored to file |
Definition at line 33 of file PndOutputContainer.h.
|
inlinevirtual |
|
inlinevirtual |
Compress.
Reimplemented from PndOutputContainerI< T >.
Definition at line 165 of file PndOutputContainer.h.
|
inlinefinalvirtual |
Create a copy of t_data in internal data and return ptr to it.
t_data |
Implements PndOutputContainerI< T >.
Definition at line 114 of file PndOutputContainer.h.
Referenced by TestOutTask::Exec().
|
inlinefinalvirtual |
Get the Element object at t_index.
t_index |
Implements PndOutputContainerI< T >.
Definition at line 153 of file PndOutputContainer.h.
|
inlinefinalvirtual |
Get the number of members in internal data.
Implements PndContainerI< T >.
Definition at line 139 of file PndOutputContainer.h.
|
inlinevirtual |
Init internal data.
We do not call it final
const | TString &t_branchname - Name of databranch that is to be fetched, will always get a PndSTDOutputContainer |
Implements PndContainerI< T >.
Definition at line 46 of file PndOutputContainer.h.
Referenced by TestOutTask::Init().
|
inlinefinalvirtual |
Delete object at t_index in internal data.
t_index |
Implements PndOutputContainerI< T >.
Definition at line 127 of file PndOutputContainer.h.
|
inlinefinalvirtual |
Reset data.
Should delete current data
Implements PndOutputContainerI< T >.
Definition at line 101 of file PndOutputContainer.h.
Referenced by TestOutTask::Exec().
|
inline |
Create a std::vector based outputcontainer and register/init it with the FairRootManager.
t_branchname |
Definition at line 62 of file PndOutputContainer.h.
Referenced by PndOutputContainer< BSEmcMultiWaveform >::Init().
|
inline |
Create a TClonesArray based outputcontainer and register/init it with the FairRootManager.
t_branchname |
Definition at line 81 of file PndOutputContainer.h.
Referenced by PndOutputContainer< BSEmcMultiWaveform >::Init().
|
protected |
Definition at line 173 of file PndOutputContainer.h.
Referenced by PndOutputContainer< BSEmcMultiWaveform >::Compress(), PndOutputContainer< BSEmcMultiWaveform >::CreateCopy(), PndOutputContainer< BSEmcMultiWaveform >::GetElement(), PndOutputContainer< BSEmcMultiWaveform >::GetSize(), PndOutputContainer< BSEmcMultiWaveform >::RemoveAt(), PndOutputContainer< BSEmcMultiWaveform >::Reset(), PndOutputContainer< BSEmcMultiWaveform >::TrySTD(), and PndOutputContainer< BSEmcMultiWaveform >::TryTCA().