#include <SelectBranches.hpp>
Public Member Functions | |
| SelectBranches (cafe::Event &event, const BranchNames &names) | |
| ~SelectBranches () | |
Private Member Functions | |
| SelectBranches (const SelectBranches &) | |
| SelectBranches | operator= (const SelectBranches &) |
Private Attributes | |
| const BranchNames & | _names |
An instance of this class should be instantiated around a code block where certain TMBTree branches should not be read. The destructor will automatically enable all disabled branches again.
Example:
BranchNames names("EMscone.fX", "EMscone.fY");
SelectBranches enable(event, names);
only the two branches above are enabled now
Definition at line 63 of file SelectBranches.hpp.
|
||||||||||||
|
Definition at line 151 of file SelectBranches.cpp. References cafe::EventBase::getCookie(), and cafe::EventBase::getTree(). |
|
|
Definition at line 157 of file SelectBranches.cpp. References _names, and cafe::BranchNames::enable(). |
|
|
|
|
|
|
|
|
Definition at line 72 of file SelectBranches.hpp. Referenced by ~SelectBranches(). |
1.3.4