PODIO v00-16-03
An Event-Data-Model Toolkit for High Energy Physics Experiments
|
Classes | |
struct | CollectionBranches |
Typedefs | |
using | CollectionInfoT = std::tuple< int, std::string, bool > |
Functions | |
std::string | idTableName (const std::string &category) |
std::string | collInfoName (const std::string &category) |
template<class Tree > | |
TBranch * | getBranch (Tree *chain, const char *name) |
template<typename Tree > | |
TBranch * | getBranch (Tree *chain, const std::string &name) |
std::string | refBranch (const std::string &name, size_t index) |
std::string | vecBranch (const std::string &name, size_t index) |
template<typename BufferT > | |
void | setCollectionAddresses (const BufferT &collBuffers, const CollectionBranches &branches) |
void | readBranchesData (const CollectionBranches &branches, Long64_t entry) |
auto | reconstructCollectionInfo (TTree *eventTree, podio::CollectionIDTable const &idTable) |
using podio::root_utils::CollectionInfoT = typedef std::tuple<int, std::string, bool> |
Definition at line 106 of file rootUtils.h.
|
inline |
Name of the branch for storing the collection info for a given category in the meta data tree
Definition at line 58 of file rootUtils.h.
Referenced by podio::ROOTFrameWriter::finish().
TBranch * podio::root_utils::getBranch | ( | Tree * | chain, |
const char * | name | ||
) |
Definition at line 66 of file rootUtils.h.
Referenced by podio::createCollectionBranches(), getBranch(), podio::ROOTFrameReader::openFiles(), podio::ROOTLegacyReader::openFiles(), podio::ROOTReader::openFiles(), and reconstructCollectionInfo().
TBranch * podio::root_utils::getBranch | ( | Tree * | chain, |
const std::string & | name | ||
) |
Definition at line 71 of file rootUtils.h.
|
inline |
Name of the branch for storing the idTable for a given category in the meta data tree
Definition at line 49 of file rootUtils.h.
Referenced by podio::ROOTFrameWriter::finish().
|
inline |
Definition at line 108 of file rootUtils.h.
|
inline |
reconstruct the collection info from information that is available from other trees in the file.
NOTE: This function is only supposed to be called if there is no "CollectionTypeInfo" branch in the metadata tree, as it assumes that the file has been written with podio previous to #197 where there were no subset collections
Definition at line 130 of file rootUtils.h.
Referenced by podio::ROOTLegacyReader::openFiles(), and podio::ROOTReader::openFiles().
|
inline |
Definition at line 75 of file rootUtils.h.
Referenced by podio::createCollectionBranches().
|
inline |
Definition at line 84 of file rootUtils.h.
|
inline |
Definition at line 79 of file rootUtils.h.
Referenced by podio::createCollectionBranches().