PandaTree
Public Member Functions | Static Public Member Functions | List of all members
panda::utils::BranchList Class Reference

List of branch names. More...

#include <IOUtils.h>

Inheritance diagram for panda::utils::BranchList:

Public Member Functions

 BranchList (std::initializer_list< value_type > il, const allocator_type &alloc=allocator_type())
 
BranchList subList (TString const &objName) const
 Return a new list of branches that starts with the objName, removing <objName.> from each.
 
bool matchesAny (BranchList const &) const
 Returns true if any of the branch in the list is not vetoed in my list.
 
BranchListoperator+= (BranchList const &)
 Extend the list.
 
void collapse ()
 Remove overlapping entries.
 
BranchList fullNames (TString const &objName="") const
 Prepend the branch names with <objName.>.
 
void setVerbosity (int i)
 Set the verbosity level. More...
 
int getVerbosity () const
 Get the verbosity level.
 

Static Public Member Functions

static BranchList makeList (TTree &)
 Create a branchlist object from the branches in the tree.
 

Detailed Description

List of branch names.

Basically a vector of BranchNames with a few facilities.

Member Function Documentation

§ setVerbosity()

void panda::utils::BranchList::setVerbosity ( int  i)
inline

Set the verbosity level.

Reports individual branches when reading from tree: 0 = silent [default] 1 = report requested, vetoed, missing branches 2 = report all branches


The documentation for this class was generated from the following files: