ATLAS Offline Software
Control
SGTools
src
CurrentEventStore.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// $Id$
14
#include "
SGTools/CurrentEventStore.h
"
15
16
17
namespace
SG
{
18
19
20
thread_local
IProxyDict
*
CurrentEventStore::m_curStore
=
nullptr
;
21
22
26
IProxyDict
*
CurrentEventStore::storeOol
()
27
{
28
return
m_curStore
;
29
}
30
31
36
IProxyDict
*
CurrentEventStore::setStore
(
IProxyDict
*
store
)
37
{
38
IProxyDict
* oldstore =
m_curStore
;
39
m_curStore
=
store
;
40
return
oldstore;
41
}
42
43
44
}
// namespace SG
SGTest::store
TestStore store
Definition:
TestStore.cxx:23
CurrentEventStore.h
Hold a pointer to the current event store.
SG
Forward declaration.
Definition:
CaloCellPacker_400_500.h:32
SG::CurrentEventStore::setStore
static IProxyDict * setStore(IProxyDict *store)
Set the current store.
Definition:
CurrentEventStore.cxx:36
SG::CurrentEventStore::store
static IProxyDict * store()
Fetch the current store.
IProxyDict
A proxy dictionary.
Definition:
AthenaKernel/AthenaKernel/IProxyDict.h:47
SG::CurrentEventStore::m_curStore
static thread_local IProxyDict * m_curStore
The current event store.
Definition:
SGTools/SGTools/CurrentEventStore.h:70
SG::CurrentEventStore::storeOol
static IProxyDict * storeOol()
Fetch the current store (out-of-line version).
Definition:
CurrentEventStore.cxx:26
Generated on Sun Dec 22 2024 21:08:58 for ATLAS Offline Software by
1.8.18