ATLAS Offline Software
Control
xAODRootAccess
Root
TActiveStore.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
// ROOT include(s):
6
#include <ThreadLocalStorage.h>
7
8
// Local include(s):
9
#include "
xAODRootAccess/TActiveStore.h
"
10
11
namespace
xAOD
{
12
14
TTHREAD_TLS
(
TStore
* ) s_store;
15
16
TStore
*
TActiveStore::store
() {
17
18
return
s_store;
19
}
20
21
void
TActiveStore::setStore
(
TStore
*
ptr
) {
22
23
s_store =
ptr
;
24
return
;
25
}
26
27
}
// namespace xAOD
xAOD::TTHREAD_TLS
TTHREAD_TLS(TStore *) s_store
Pointer to the currently active TStore object of the thread.
xAOD::TActiveStore::store
static TStore * store()
Access the currently active TStore object.
Definition:
TActiveStore.cxx:16
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition:
ICaloAffectedTool.h:24
dbg::ptr
void * ptr(T *p)
Definition:
SGImplSvc.cxx:74
xAOD::TStore
A relatively simple transient store for objects created in analysis.
Definition:
TStore.h:44
xAOD::TActiveStore::setStore
static void setStore(TStore *ptr)
Set the active store pointer.
Definition:
TActiveStore.cxx:21
TActiveStore.h
Generated on Thu Nov 7 2024 21:26:55 for ATLAS Offline Software by
1.8.18