7#ifndef XAODROOTACCESS_TOOLS_RAUXFIELDMANAGER_H
8#define XAODROOTACCESS_TOOLS_RAUXFIELDMANAGER_H
45 virtual ::Int_t
getEntry( ::Int_t getall = 0 )
override;
48 virtual const void*
object()
const override;
50 virtual void*
object()
override;
52 virtual void setObject(
void* obj )
override;
55 virtual ::Bool_t
create()
override;
57 virtual ::Bool_t
isSet()
const override;
59 virtual void reset()
override;
Basic definitions for auxiliary types.
Abstract interface for manipulating vectors of arbitrary types.
Manager for EDM objects created by ROOT.
const THolder * holder() const
Accessor to the Holder object.
virtual void setObject(void *obj) override
Function replacing the object being handled.
virtual::Bool_t isSet() const override
Check if the object was set for the current event.
::Bool_t m_isPrimitive
Is field of primitive type, e.g. int, float, bool.
virtual::Int_t getEntry(::Int_t getall=0) override
Function for updating the object in memory if needed.
virtual const void * object() const override
Function getting a const pointer to the object being handled.
RAuxFieldManager(std::unique_ptr< THolder > holder, bool isPrimitive=false)
Constructor getting hold of a possible branch.
~RAuxFieldManager()
Destructor.
::Bool_t m_isSet
Was the object set for the current event?
virtual void reset() override
Reset the object at the end of processing of an event.
::Bool_t isPrimitive() const
Accessor to whether the field is a primitive type, e.g. int, float, bool.
virtual::Bool_t create() override
Create the object for the current event.