 |
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef XAODROOTACCESS_TOOLS_TOBJECTMANAGER_H
8 #define XAODROOTACCESS_TOOLS_TOBJECTMANAGER_H
34 std::unique_ptr<THolder>
holder =
nullptr,
35 ::Bool_t renewOnRead = kFALSE );
50 virtual ::Int_t
getEntry( ::Int_t getall = 0 )
override;
53 virtual const void*
object()
const override;
55 virtual void*
object()
override;
60 virtual ::Bool_t
create()
override;
62 virtual ::Bool_t
isSet()
const override;
64 virtual void reset()
override;
80 #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.
const THolder * holder() const
Accessor to the Holder object.
::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.
::Long64_t m_entry
The last entry that was loaded for this branch.
TObjectManager & operator=(const TObjectManager &parent)
Assignment operator.
TObjectManager(::TBranch *br=0, std::unique_ptr< THolder > holder=nullptr, ::Bool_t renewOnRead=kFALSE)
Constructor, getting hold of the created objects.
::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.
virtual void reset() override
Reset the object at the end of processing of an event.
::TBranch * branch()
Accessor to the branch.
Manager for EDM objects created by ROOT.
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.