The Gaudi Framework
master (37c0b60a)
|
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 std::string &algName) | |
void | setDataPtr (void const *dataPtr) |
void | setBranchData (const gsl::not_null< DataObject * > pObj) |
const std::string & | getLocation () const |
const std::string & | getClassName () const |
Private Attributes | |
void const * | m_dataBuffer = nullptr |
TBranch * | m_branch = nullptr |
std::string | m_className |
std::string | m_branchName |
std::string | m_location |
std::string | m_algName |
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 std::string & | algName | ||
) |
Definition at line 35 of file BranchWrapper.cpp.
const std::string & Gaudi::details::BranchWrapper::getClassName | ( | ) | const |
Definition at line 83 of file BranchWrapper.cpp.
const std::string & Gaudi::details::BranchWrapper::getLocation | ( | ) | const |
Definition at line 81 of file BranchWrapper.cpp.
void Gaudi::details::BranchWrapper::setBranchData | ( | const gsl::not_null< DataObject * > | pObj | ) |
Definition at line 75 of file BranchWrapper.cpp.
void Gaudi::details::BranchWrapper::setDataPtr | ( | void const * | dataPtr | ) |
Definition at line 68 of file BranchWrapper.cpp.
|
private |
Definition at line 33 of file BranchWrapper.h.
|
private |
Definition at line 29 of file BranchWrapper.h.
|
private |
Definition at line 31 of file BranchWrapper.h.
|
private |
Definition at line 30 of file BranchWrapper.h.
|
private |
Definition at line 28 of file BranchWrapper.h.
|
private |
Definition at line 32 of file BranchWrapper.h.
|
private |
Definition at line 34 of file BranchWrapper.h.