The Gaudi Framework
master (594c33fa)
|
Encapsulates a branch within a ROOT TTree, managing the data and interaction with the TTree. More...
#include </builds/gaudi/Gaudi/GaudiUtils/include/Gaudi/details/BranchWrapper.h>
Public Member Functions | |
BranchWrapper (const gsl::not_null< TTree * > tree, const std::string &className, const std::string &branchName, const std::string &location, const Gaudi::Algorithm &algRef) | |
void | setDataPtr (void const *dataPtr) |
void | setBranchData (const gsl::not_null< DataObject * > pObj) |
std::string | getLocation () const |
std::string | getClassName () const |
Private Attributes | |
void const * | m_dataBuffer = nullptr |
AnyDataWrapperBase * | baseWrapper = nullptr |
TBranch * | m_branch = nullptr |
std::string | m_className |
std::string | m_branchName |
std::string | m_location |
const Gaudi::Algorithm & | m_algRef |
void(* | setBranchAddress )(gsl::not_null< TBranch * >, const void **) |
Encapsulates a branch within a ROOT TTree, managing the data and interaction with the TTree.
Definition at line 25 of file BranchWrapper.h.
Gaudi::details::BranchWrapper::BranchWrapper | ( | const gsl::not_null< TTree * > | tree, |
const std::string & | className, | ||
const std::string & | branchName, | ||
const std::string & | location, | ||
const Gaudi::Algorithm & | algRef | ||
) |
Definition at line 35 of file BranchWrapper.cpp.
std::string Gaudi::details::BranchWrapper::getClassName | ( | ) | const |
Definition at line 89 of file BranchWrapper.cpp.
std::string Gaudi::details::BranchWrapper::getLocation | ( | ) | const |
Definition at line 87 of file BranchWrapper.cpp.
void Gaudi::details::BranchWrapper::setBranchData | ( | const gsl::not_null< DataObject * > | pObj | ) |
Definition at line 76 of file BranchWrapper.cpp.
void Gaudi::details::BranchWrapper::setDataPtr | ( | void const * | dataPtr | ) |
Definition at line 69 of file BranchWrapper.cpp.
|
private |
Definition at line 29 of file BranchWrapper.h.
|
private |
Definition at line 34 of file BranchWrapper.h.
|
private |
Definition at line 30 of file BranchWrapper.h.
|
private |
Definition at line 32 of file BranchWrapper.h.
|
private |
Definition at line 31 of file BranchWrapper.h.
|
private |
Definition at line 28 of file BranchWrapper.h.
|
private |
Definition at line 33 of file BranchWrapper.h.
|
private |
Definition at line 35 of file BranchWrapper.h.