ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
TActiveStore.h
xAOD::TActiveStore::TStore
friend class TStore
Allow the TStore class to register itself at the right time.
Definition
TActiveStore.h:27
xAOD::TActiveStore::store
static TStore * store()
Access the currently active TStore object.
Definition
TActiveStore.cxx:16
xAOD::TActiveStore::setStore
static void setStore(TStore *ptr)
Set the active store pointer.
Definition
TActiveStore.cxx:21
xAOD::TStore
A relatively simple transient store for objects created in analysis.
Definition
TStore.h:45
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::TTHREAD_TLS
TTHREAD_TLS(TStore *) s_store
Pointer to the currently active TStore object of the thread.
Generated on
for ATLAS Offline Software by
1.17.0