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
17
#include "GaudiKernel/EventContext.h"
18
class
IProxyDict
;
19
20
21
namespace
SG
{
22
23
24
35
class
CurrentEventStore
36
{
37
public
:
39
static
IProxyDict*
store
();
40
41
44
static
IProxyDict*
setStore
(IProxyDict* store);
45
46
52
class
Push
53
{
54
public
:
55
Push
(
IProxyDict
* store);
56
~Push
();
57
58
private
:
59
IProxyDict
*
m_oldStore
;
60
EventContext
m_oldCtx
;
61
};
62
63
static
thread_local
IProxyDict
*
m_curStore
;
64
};
65
66
67
}
// namespace SG
68
69
70
#include "
SGTools/CurrentEventStore.icc
"
71
72
73
#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::m_oldCtx
EventContext m_oldCtx
Definition
SGTools/SGTools/CurrentEventStore.h:60
SG::Push::~Push
~Push()
SG::Push::m_oldStore
IProxyDict * m_oldStore
Definition
SGTools/SGTools/CurrentEventStore.h:59
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::m_curStore
static IProxyDict * m_curStore
The current event store.
Definition
SGTools/SGTools/CurrentEventStore.h:63
Generated on
for ATLAS Offline Software by
1.17.0