ATLAS Offline Software
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
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id$
16
#ifndef SGTOOLS_CURRENTEVENTSTORE_H
17
#define SGTOOLS_CURRENTEVENTSTORE_H
18
19
class
IProxyDict
;
20
21
22
namespace
SG
{
23
24
25
36
class
CurrentEventStore
37
{
38
public
:
40
static
IProxyDict
*
store
();
41
42
44
static
IProxyDict
*
storeOol
();
45
46
49
static
IProxyDict
*
setStore
(
IProxyDict
*
store
);
50
51
57
class
Push
58
{
59
public
:
60
Push
(
IProxyDict
*
store
);
61
~Push
();
62
63
private
:
64
IProxyDict
*
m_oldStore
;
65
};
66
67
68
private
:
70
static
thread_local
IProxyDict
*
m_curStore
;
71
};
72
73
74
}
// namespace SG
75
76
77
#include "
SGTools/CurrentEventStore.icc
"
78
79
80
#endif // not SGTOOLS_CURRENTEVENTSTORE_H
SG
Forward declaration.
Definition:
CaloCellPacker_400_500.h:32
SG::CurrentEventStore::Push::m_oldStore
IProxyDict * m_oldStore
Definition:
SGTools/SGTools/CurrentEventStore.h:64
SG::CurrentEventStore::Push
Temporarily change the current store.
Definition:
SGTools/SGTools/CurrentEventStore.h:58
SG::CurrentEventStore::setStore
static IProxyDict * setStore(IProxyDict *store)
Set the current store.
Definition:
CurrentEventStore.cxx:36
CurrentEventStore.icc
SG::CurrentEventStore
Hold a pointer to the current event store.
Definition:
SGTools/SGTools/CurrentEventStore.h:37
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::Push::~Push
~Push()
SG::CurrentEventStore::Push::Push
Push(IProxyDict *store)
SG::CurrentEventStore::storeOol
static IProxyDict * storeOol()
Fetch the current store (out-of-line version).
Definition:
CurrentEventStore.cxx:26
Generated on Thu Nov 7 2024 21:13:02 for ATLAS Offline Software by
1.8.18