Manager for primitive auxiliary branches created dynamically. More...
#include <TPrimitiveAuxBranchManager.h>
Public Types | |
typedef SG::auxid_t | auxid_t |
Definition of the auxiliary ID type. | |
Public Member Functions | |
TPrimitiveAuxBranchManager (auxid_t auxid,::TBranch *br=0, THolder *holder=0) | |
Constructor getting hold of a possible branch. | |
TPrimitiveAuxBranchManager (const TPrimitiveAuxBranchManager &parent) | |
Copy constructor. | |
~TPrimitiveAuxBranchManager () | |
Destructor. | |
TPrimitiveAuxBranchManager & | operator= (const TPrimitiveAuxBranchManager &rhs) |
Assignment operator. | |
::TBranch * | branch () const |
Accessor to the branch. | |
::TBranch ** | branchPtr () |
Pointer to the branch's pointer. | |
const THolder * | holder () const |
Accessor to the Holder object (constant version). | |
THolder * | holder () |
Accessor to the Holder object. | |
virtual ::Int_t | getEntry (::Long64_t entry,::Int_t getall=0) |
Function for updating the object in memory if needed. | |
virtual void * | object () const |
Function getting a pointer to the object being handled. | |
virtual void | setObject (void *obj) |
Function replacing the object being handled. | |
virtual ::Bool_t | isSet (::Bool_t forceSet=kTRUE) const |
Check if the object was set for the current event. | |
virtual void | reset () |
Reset the object at the end of processing of an event. |
Manager for primitive auxiliary branches created dynamically.
One has to treat std::vector<T> and primitive auxiliary branches differently, because TTree handles these things very differently. This class manages auxiliary branches created from primitive variables.