![]() |
ATLAS Offline Software
|
#include <TBranchAuxDynReader.h>
Classes | |
struct | BranchInfo |
Public Member Functions | |
TBranchAuxDynReader (TTree *tree, TBranch *base_branch) | |
void | init (bool standalone) |
virtual void | addReaderToObject (void *object, size_t ttree_row, std::recursive_mutex *iomtx=nullptr) override final |
Attach specialized AuxStore for reading dynamic attributes. More... | |
BranchInfo & | getBranchInfo (const SG::auxid_t &auxid, const SG::AuxStoreInternal &store) |
virtual | ~TBranchAuxDynReader ()=default |
const SG::auxid_set_t & | auxIDs () const |
Aux IDs of all the Aux attributes belonging to the Aux container being read. More... | |
bool | addAuxID (const SG::auxid_t &id) |
void | addBytes (size_t bytes) |
size_t | getBytesRead () const |
void | resetBytesRead () |
Protected Attributes | |
std::string | m_baseBranchName |
int | m_storeHolderOffset = -1 |
bool | m_initialized = false |
std::string | m_key |
TTree * | m_tree = nullptr |
std::map< std::string, TBranch * > | m_branchMap |
std::map< SG::auxid_t, BranchInfo > | m_branchInfos |
SG::auxid_set_t | m_auxids |
size_t | m_bytesRead = 0 |
Private Member Functions | |
SG::auxid_t | initBranch (bool standalone, const std::string &attr, TBranch *branch) |
Definition at line 19 of file TBranchAuxDynReader.h.
TBranchAuxDynReader::TBranchAuxDynReader | ( | TTree * | tree, |
TBranch * | base_branch | ||
) |
Definition at line 171 of file TBranchAuxDynReader.cxx.
|
virtualdefault |
|
inlineinherited |
Definition at line 60 of file RootAuxDynReader.h.
|
inlineinherited |
Definition at line 40 of file RootAuxDynReader.h.
|
finaloverridevirtual |
Attach specialized AuxStore for reading dynamic attributes.
object | object instance to which the store will be attached to - has to be an instance of the type the reader was created for |
ttree_row | Use this method to instrument an AuxStore object AFTER it was read (every time it is read) This will attach its dynamic attributes with read-on-demand capability |
Implements RootAuxDynIO::IRootAuxDynReader.
Definition at line 349 of file TBranchAuxDynReader.cxx.
|
inlineinherited |
Aux IDs of all the Aux attributes belonging to the Aux container being read.
Definition at line 55 of file RootAuxDynReader.h.
TBranchAuxDynReader::BranchInfo & TBranchAuxDynReader::getBranchInfo | ( | const SG::auxid_t & | auxid, |
const SG::AuxStoreInternal & | store | ||
) |
Definition at line 260 of file TBranchAuxDynReader.cxx.
|
inlinevirtualinherited |
Implements RootAuxDynIO::IRootAuxDynReader.
Definition at line 45 of file RootAuxDynReader.h.
void TBranchAuxDynReader::init | ( | bool | standalone | ) |
Definition at line 247 of file TBranchAuxDynReader.cxx.
|
private |
Definition at line 202 of file TBranchAuxDynReader.cxx.
|
inlinevirtualinherited |
Implements RootAuxDynIO::IRootAuxDynReader.
Definition at line 50 of file RootAuxDynReader.h.
|
protectedinherited |
Definition at line 31 of file RootAuxDynReader.h.
|
protected |
Definition at line 56 of file TBranchAuxDynReader.h.
|
protected |
Definition at line 66 of file TBranchAuxDynReader.h.
|
protected |
Definition at line 64 of file TBranchAuxDynReader.h.
|
protectedinherited |
Definition at line 34 of file RootAuxDynReader.h.
|
protected |
Definition at line 59 of file TBranchAuxDynReader.h.
|
protected |
Definition at line 60 of file TBranchAuxDynReader.h.
|
protected |
Definition at line 58 of file TBranchAuxDynReader.h.
|
protected |
Definition at line 62 of file TBranchAuxDynReader.h.