ATLAS Offline Software
|
Table giving information on how to clear all variables in a tree. More...
Public Member Functions | |
~Cleartable () | |
Destructor. More... | |
StatusCode | add (TBranch *br, char *defval, size_t defsize) |
Initialize for clearing a variable. More... | |
void | clear () |
Clear all branches. More... | |
Private Attributes | |
std::vector< Clearinfo > | m_info |
Table giving information on how to clear all variables in a tree.
Definition at line 361 of file RootD3PD.cxx.
D3PD::Root::Cleartable::~Cleartable | ( | ) |
Destructor.
Definition at line 393 of file RootD3PD.cxx.
StatusCode D3PD::Root::Cleartable::add | ( | TBranch * | br, |
char * | defval, | ||
size_t | defsize | ||
) |
Initialize for clearing a variable.
Add a new branch to the table.
br | The branch containing the variable. |
defval | Pointer to the default value to use for this variable. Null for no default (generally means to fill with zeros). Of the type given by ti . Only works for basic types. We take ownership of this. |
defsize | Size of the object pointed at by defval. |
br | The branch to be cleared. |
defval | Pointer to the default value to use for this variable. Null for no default (generally means to fill with zeros). Of the type given by ti . Only works for basic types. We take ownership of this. |
defsize | Size of the object pointed at by defval. |
Definition at line 410 of file RootD3PD.cxx.
void D3PD::Root::Cleartable::clear | ( | ) |
|
private |
Definition at line 386 of file RootD3PD.cxx.