ATLAS Offline Software
Loading...
Searching...
No Matches
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
16class IProxyDict;
17
18
19namespace SG {
20
21
22
33class CurrentEventStore
34{
35public:
37 static IProxyDict* store();
38
39
42 static IProxyDict* setStore (IProxyDict* store);
43
44
50 class Push
51 {
52 public:
53 Push (IProxyDict* store);
55
56 private:
58 };
59
60
61private:
63 static void storeToCtx (IProxyDict* store);
64
65
67 static thread_local IProxyDict* m_curStore;
68};
69
70
71} // namespace SG
72
73
75
76
77#endif // not SGTOOLS_CURRENTEVENTSTORE_H
Push(IProxyDict *store)
TestStore store
Definition TestStore.cxx:23
Forward declaration.
void setStore(const SG::IConstAuxStore *store)
Set the store associated with this object.
static void storeToCtx(IProxyDict *store)
Update the current EventContext to reference store.
static IProxyDict * m_curStore
The current event store.