ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
xAODRootAccess
xAODRootAccess
tools
ROutObjManager.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef XAODROOTACCESS_TOOLS_ROUTOBJMANAGER_H
8
#define XAODROOTACCESS_TOOLS_ROUTOBJMANAGER_H
9
10
// Local include(s):
11
#include "
xAODRootAccess/tools/IObjectManager.h
"
12
13
// Forward declaration(s):
14
15
namespace
xAOD::Experimental
{
16
17
27
class
ROutObjManager
:
public
Details::IObjectManager
{
28
29
public
:
31
ROutObjManager
( std::string_view
key
, std::unique_ptr<THolder>
holder
);
32
34
~ROutObjManager
();
35
36
// provide field name
37
const
std::string&
key
();
38
40
virtual ::Int_t
getEntry
( ::Int_t getall = 0 )
override
;
41
43
virtual
const
void
*
object
()
const override
;
45
virtual
void
*
object
()
override
;
47
virtual
void
setObject
(
void
* obj )
override
;
48
50
virtual ::Bool_t
create
()
override
;
52
virtual ::Bool_t
isSet
()
const override
;
54
virtual
void
reset
()
override
;
55
56
private
:
58
std::string
m_key
;
60
::Bool_t
m_isSet
;
61
62
};
// class ROutObjManager
63
64
}
// namespace xAOD::Experimental
65
66
#endif
// XAODROOTACCESS_TOOLS_ROUTOBJMANAGER_H
IObjectManager.h
xAOD::Details::IObjectManager
Manager for EDM objects created by ROOT.
Definition
IObjectManager.h:20
xAOD::Details::IObjectManager::holder
const THolder * holder() const
Accessor to the Holder object.
Definition
IObjectManager.cxx:43
xAOD::Experimental::ROutObjManager::m_isSet
::Bool_t m_isSet
Was the object set for the current event?
Definition
ROutObjManager.h:60
xAOD::Experimental::ROutObjManager::setObject
virtual void setObject(void *obj) override
Function replacing the object being handled.
Definition
ROutObjManager.cxx:65
xAOD::Experimental::ROutObjManager::isSet
virtual::Bool_t isSet() const override
Check if the object was set for the current event.
Definition
ROutObjManager.cxx:82
xAOD::Experimental::ROutObjManager::ROutObjManager
ROutObjManager(std::string_view key, std::unique_ptr< THolder > holder)
Constructor, getting hold of the created objects.
Definition
ROutObjManager.cxx:18
xAOD::Experimental::ROutObjManager::object
virtual const void * object() const override
Function getting a const pointer to the object being handled.
Definition
ROutObjManager.cxx:51
xAOD::Experimental::ROutObjManager::create
virtual::Bool_t create() override
Create the object for the current event.
Definition
ROutObjManager.cxx:74
xAOD::Experimental::ROutObjManager::key
const std::string & key()
Definition
ROutObjManager.cxx:27
xAOD::Experimental::ROutObjManager::reset
virtual void reset() override
Reset the object at the end of processing of an event.
Definition
ROutObjManager.cxx:91
xAOD::Experimental::ROutObjManager::getEntry
virtual::Int_t getEntry(::Int_t getall=0) override
Function for updating the object in memory if needed.
Definition
ROutObjManager.cxx:40
xAOD::Experimental::ROutObjManager::~ROutObjManager
~ROutObjManager()
Destructor.
xAOD::Experimental::ROutObjManager::m_key
std::string m_key
The name of the (SG) key.
Definition
ROutObjManager.h:58
xAOD::Experimental
Definition
RAuxFieldManager.cxx:16
Generated on
for ATLAS Offline Software by
1.17.0