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 1264 of file AnaRootParser_module.cc.
|
inline |
Definition at line 1267 of file AnaRootParser_module.cc.
|
inline |
Create a branch if it does not exist, and set its address.
Definition at line 1272 of file AnaRootParser_module.cc.
|
inline |
Definition at line 1296 of file AnaRootParser_module.cc.
|
inline |
Definition at line 1300 of file AnaRootParser_module.cc.
|
inline |
Definition at line 1304 of file AnaRootParser_module.cc.
TTree* dune::AnaRootParserDataStruct::BranchCreator::pTree |
the tree to be worked on
Definition at line 1266 of file AnaRootParser_module.cc.