Little helper functor class to create or reset branches in a tree. More...
Public Member Functions | |
BranchCreator (TTree *tree) | |
void | operator() (std::string name, void *address, std::string leaflist) |
Create a branch if it does not exist, and set its address. More... | |
void | operator() (std::string name, void *address, const std::stringstream &leaflist) |
template<typename T > | |
void | operator() (std::string name, std::vector< T > &data, std::string leaflist) |
template<typename T > | |
void | operator() (std::string name, std::vector< T > &data) |
Public Attributes | |
TTree * | pTree |
the tree to be worked on More... | |
Little helper functor class to create or reset branches in a tree.
Definition at line 1107 of file AnalysisTree_module.cc.
|
inline |
Definition at line 1110 of file AnalysisTree_module.cc.
|
inline |
Create a branch if it does not exist, and set its address.
Definition at line 1115 of file AnalysisTree_module.cc.
|
inline |
Definition at line 1135 of file AnalysisTree_module.cc.
|
inline |
Definition at line 1139 of file AnalysisTree_module.cc.
|
inline |
Definition at line 1143 of file AnalysisTree_module.cc.
TTree* dune::AnalysisTreeDataStruct::BranchCreator::pTree |
the tree to be worked on
Definition at line 1109 of file AnalysisTree_module.cc.