ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
D3PD::Root::Cleartable Class Reference

Table giving information on how to clear all variables in a tree. More...

Collaboration diagram for D3PD::Root::Cleartable:

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< Clearinfom_info
 

Detailed Description

Table giving information on how to clear all variables in a tree.

Definition at line 361 of file RootD3PD.cxx.

Constructor & Destructor Documentation

◆ ~Cleartable()

D3PD::Root::Cleartable::~Cleartable ( )

Destructor.

Definition at line 393 of file RootD3PD.cxx.

Member Function Documentation

◆ add()

StatusCode D3PD::Root::Cleartable::add ( TBranch *  br,
char *  defval,
size_t  defsize 
)

Initialize for clearing a variable.

Add a new branch to the table.

Parameters
brThe branch containing the variable.
defvalPointer 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.
defsizeSize of the object pointed at by defval.
brThe branch to be cleared.
defvalPointer 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.
defsizeSize of the object pointed at by defval.

Definition at line 410 of file RootD3PD.cxx.

417 {

◆ clear()

void D3PD::Root::Cleartable::clear ( )

Clear all branches.

Clear all variables.

Definition at line 422 of file RootD3PD.cxx.

Member Data Documentation

◆ m_info

std::vector<Clearinfo> D3PD::Root::Cleartable::m_info
private

Definition at line 386 of file RootD3PD.cxx.


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