|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef XAODROOTACCESS_TOOLS_TOBJECTMANAGER_H
8 #define XAODROOTACCESS_TOOLS_TOBJECTMANAGER_H
34 ::Bool_t renewOnRead = kFALSE );
53 virtual ::Int_t
getEntry( ::Int_t getall = 0 )
override;
56 virtual const void*
object()
const override;
58 virtual void*
object()
override;
63 virtual ::Bool_t
create()
override;
65 virtual ::Bool_t
isSet()
const override;
67 virtual void reset()
override;
85 #endif // XAODROOTACCESS_TOOLS_TOBJECTMANAGER_H
virtual ::Bool_t create() override
Create the object for the current event.
::TBranch * m_branch
Pointer keeping track of the branch.
This class takes care of holding EDM objects in memory.
::TBranch ** branchPtr()
Pointer to the branch's pointer.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
~TObjectManager()
Destructor.
Interface class for the "manager classes".
::Long64_t m_entry
The last entry that was loaded for this branch.
TObjectManager & operator=(const TObjectManager &parent)
Assignment operator.
::Bool_t m_isSet
Was the object set for the current event?
::Bool_t m_renewOnRead
Should the object be recreated on each read?
virtual ::Bool_t isSet() const override
Check if the object was set for the current event.
Manager for EDM objects created by ROOT.
virtual ::Int_t getEntry(::Int_t getall=0) override
Function for updating the object in memory if needed.
const THolder * holder() const
Accessor to the Holder object.
virtual void reset() override
Reset the object at the end of processing of an event.
TObjectManager(::TBranch *br=0, THolder *holder=0, ::Bool_t renewOnRead=kFALSE)
Constructor, getting hold of the created objects.
::TBranch * branch()
Accessor to the branch.
virtual void setObject(void *obj) override
Function replacing the object being handled.
virtual const void * object() const override
Function getting a const pointer to the object being handled.
THolder * m_holder
Holder object for the EDM object.