ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
SGTools
SGTools
SGTools/SGTools/CurrentEventStore.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
4
*/
11
12
13
#ifndef SGTOOLS_CURRENTEVENTSTORE_H
14
#define SGTOOLS_CURRENTEVENTSTORE_H
15
16
class
IProxyDict
;
17
18
19
namespace
SG
{
20
21
22
33
class
CurrentEventStore
34
{
35
public
:
37
static
IProxyDict*
store
();
38
39
42
static
IProxyDict*
setStore
(IProxyDict* store);
43
44
50
class
Push
51
{
52
public
:
53
Push
(
IProxyDict
* store);
54
~Push
();
55
56
private
:
57
IProxyDict
*
m_oldStore
;
58
};
59
60
61
private
:
63
static
void
storeToCtx
(
IProxyDict
* store);
64
65
67
static
thread_local
IProxyDict
*
m_curStore
;
68
};
69
70
71
}
// namespace SG
72
73
74
#include "
SGTools/CurrentEventStore.icc
"
75
76
77
#endif
// not SGTOOLS_CURRENTEVENTSTORE_H
CurrentEventStore.icc
IProxyDict
A proxy dictionary.
Definition
AthenaKernel/AthenaKernel/IProxyDict.h:47
SG::Push::Push
Push(IProxyDict *store)
SG::Push::~Push
~Push()
SG::Push::m_oldStore
IProxyDict * m_oldStore
Definition
SGTools/SGTools/CurrentEventStore.h:57
SGTest::store
TestStore store
Definition
TestStore.cxx:23
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
SG::setStore
void setStore(const SG::IConstAuxStore *store)
Set the store associated with this object.
SG::storeToCtx
static void storeToCtx(IProxyDict *store)
Update the current EventContext to reference store.
Definition
CurrentEventStore.cxx:39
SG::m_curStore
static IProxyDict * m_curStore
The current event store.
Definition
SGTools/SGTools/CurrentEventStore.h:67
Generated on
for ATLAS Offline Software by
1.17.0