|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef XAODROOTACCESS_TOOLS_TAUXBRANCHMANAGER_H
8 #define XAODROOTACCESS_TOOLS_TAUXBRANCHMANAGER_H
61 virtual ::Int_t
getEntry( ::Int_t getall = 0 )
override;
64 virtual const void*
object()
const override;
66 virtual void*
object()
override;
71 virtual ::Bool_t
create()
override;
73 virtual ::Bool_t
isSet()
const override;
75 virtual void reset()
override;
96 #endif // XAODROOTACCESS_TOOLS_TAUXBRANCHMANAGER_H
virtual ::Int_t getEntry(::Int_t getall=0) override
Function for updating the object in memory if needed.
::Bool_t m_isSet
Was the object set for the current event?
THolder * m_holder
Holder object for the EDM object.
virtual ::Bool_t create() override
Create the object for the current event.
Manager for auxiliary branches created dynamically.
This class takes care of holding EDM objects in memory.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
virtual ::Bool_t isSet() const override
Check if the object was set for the current event.
Interface class for the "manager classes".
virtual void setObject(void *obj) override
Function replacing the object being handled.
virtual void reset() override
Reset the object at the end of processing of an event.
::Long64_t m_entry
The last entry that was loaded for this branch.
size_t auxid_t
Identifier for a particular aux data item.
~TAuxBranchManager()
Destructor.
::TBranch * branch()
Accessor to the branch.
TAuxBranchManager(auxid_t auxid, ::TBranch *br=0, THolder *holder=0)
Constructor getting hold of a possible branch.
virtual const void * object() const override
Function getting a const pointer to the object being handled.
SG::auxid_t auxid_t
Definition of the auxiliary ID type.
auxid_t m_auxId
Auxiliary variable type.
Basic definitions for auxiliary types.
SG::IAuxTypeVector * m_vector
Dummy auxiliary variable for the empty events.
Abstract interface for manipulating vectors of arbitrary types.
::TBranch ** branchPtr()
Pointer to the branch's pointer.
::TBranch * m_branch
Pointer keeping track of the branch.
TAuxBranchManager & operator=(const TAuxBranchManager &rhs)
Assignment operator.
const THolder * holder() const
Accessor to the Holder object (constant version)