ATLAS Offline Software
Loading...
Searching...
No Matches
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):
10
11namespace xAOD {
12
14 TTHREAD_TLS( TStore* ) s_store;
15
17
18 return s_store;
19 }
20
22
23 s_store = ptr;
24 return;
25 }
26
27} // namespace xAOD
friend class TStore
Allow the TStore class to register itself at the right time.
static TStore * store()
Access the currently active TStore object.
static void setStore(TStore *ptr)
Set the active store pointer.
A relatively simple transient store for objects created in analysis.
Definition TStore.h:45
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
TTHREAD_TLS(TStore *) s_store
Pointer to the currently active TStore object of the thread.