ATLAS Offline Software
|
Manager for auxiliary branches created dynamically. More...
#include <TAuxBranchManager.h>
Public Types | |
typedef SG::auxid_t | auxid_t |
Definition of the auxiliary ID type. More... | |
Public Member Functions | |
TAuxBranchManager (auxid_t auxid, ::TBranch *br=0, THolder *holder=0) | |
Constructor getting hold of a possible branch. More... | |
TAuxBranchManager (const TAuxBranchManager &parent) | |
Copy constructor. More... | |
~TAuxBranchManager () | |
Destructor. More... | |
TAuxBranchManager & | operator= (const TAuxBranchManager &rhs) |
Assignment operator. More... | |
::TBranch * | branch () |
Accessor to the branch. More... | |
::TBranch ** | branchPtr () |
Pointer to the branch's pointer. More... | |
const THolder * | holder () const |
Accessor to the Holder object (constant version) More... | |
THolder * | holder () |
Accessor to the Holder object. More... | |
virtual ::Int_t | getEntry (::Int_t getall=0) override |
Function for updating the object in memory if needed. More... | |
virtual const void * | object () const override |
Function getting a const pointer to the object being handled. More... | |
virtual void * | object () override |
Function getting a pointer to the object being handled. More... | |
virtual void | setObject (void *obj) override |
Function replacing the object being handled. More... | |
virtual ::Bool_t | create () override |
Create the object for the current event. More... | |
virtual ::Bool_t | isSet () const override |
Check if the object was set for the current event. More... | |
virtual void | reset () override |
Reset the object at the end of processing of an event. More... | |
Private Attributes | |
::TBranch * | m_branch |
Pointer keeping track of the branch. More... | |
THolder * | m_holder |
Holder object for the EDM object. More... | |
::Long64_t | m_entry |
The last entry that was loaded for this branch. More... | |
::Bool_t | m_isSet |
Was the object set for the current event? More... | |
auxid_t | m_auxId |
Auxiliary variable type. More... | |
SG::IAuxTypeVector * | m_vector |
Dummy auxiliary variable for the empty events. More... | |
Manager for auxiliary branches created dynamically.
This manager class is meant to deal with "simple" auxiliary branches in the xAOD files.
Definition at line 34 of file TAuxBranchManager.h.
Definition of the auxiliary ID type.
Definition at line 38 of file TAuxBranchManager.h.
xAOD::TAuxBranchManager::TAuxBranchManager | ( | const TAuxBranchManager & | parent | ) |
xAOD::TAuxBranchManager::~TAuxBranchManager | ( | ) |
TBranch * xAOD::TAuxBranchManager::branch | ( | ) |
Accessor to the branch.
Definition at line 82 of file TAuxBranchManager.cxx.
TBranch ** xAOD::TAuxBranchManager::branchPtr | ( | ) |
Pointer to the branch's pointer.
Definition at line 87 of file TAuxBranchManager.cxx.
|
overridevirtual |
Create the object for the current event.
Implements xAOD::TVirtualManager.
Definition at line 168 of file TAuxBranchManager.cxx.
|
overridevirtual |
Function for updating the object in memory if needed.
Implements xAOD::TVirtualManager.
Definition at line 102 of file TAuxBranchManager.cxx.
THolder * xAOD::TAuxBranchManager::holder | ( | ) |
Accessor to the Holder object.
Definition at line 97 of file TAuxBranchManager.cxx.
Accessor to the Holder object (constant version)
Definition at line 92 of file TAuxBranchManager.cxx.
|
overridevirtual |
Check if the object was set for the current event.
Implements xAOD::TVirtualManager.
Definition at line 189 of file TAuxBranchManager.cxx.
|
overridevirtual |
Function getting a const pointer to the object being handled.
Implements xAOD::TVirtualManager.
Definition at line 150 of file TAuxBranchManager.cxx.
|
overridevirtual |
Function getting a pointer to the object being handled.
Implements xAOD::TVirtualManager.
Definition at line 155 of file TAuxBranchManager.cxx.
TAuxBranchManager & xAOD::TAuxBranchManager::operator= | ( | const TAuxBranchManager & | rhs | ) |
|
overridevirtual |
Reset the object at the end of processing of an event.
Implements xAOD::TVirtualManager.
Definition at line 193 of file TAuxBranchManager.cxx.
|
overridevirtual |
Function replacing the object being handled.
Implements xAOD::TVirtualManager.
Definition at line 160 of file TAuxBranchManager.cxx.
|
private |
Auxiliary variable type.
Definition at line 88 of file TAuxBranchManager.h.
|
private |
Pointer keeping track of the branch.
Definition at line 79 of file TAuxBranchManager.h.
|
private |
The last entry that was loaded for this branch.
Definition at line 83 of file TAuxBranchManager.h.
|
private |
Holder object for the EDM object.
Definition at line 81 of file TAuxBranchManager.h.
|
private |
Was the object set for the current event?
Definition at line 85 of file TAuxBranchManager.h.
|
private |
Dummy auxiliary variable for the empty events.
Definition at line 90 of file TAuxBranchManager.h.