ATLAS Offline Software
TActiveEvent.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 
11 namespace xAOD {
12 
15 
17 
18  return s_event;
19  }
20 
22 
23  s_event = ptr;
24  return;
25  }
26 
27 } // namespace xAOD
xAOD::TVirtualEvent
Base interface for getting objects out of the input file.
Definition: TVirtualEvent.h:32
xAOD::TTHREAD_TLS
TTHREAD_TLS(TStore *) s_store
Pointer to the currently active TStore object of the thread.
xAOD::TActiveEvent::setEvent
static void setEvent(TVirtualEvent *ptr)
Set the active event pointer.
Definition: TActiveEvent.cxx:21
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::TActiveEvent::event
static TVirtualEvent * event()
Access the currently active TVirtualEvent object.
Definition: TActiveEvent.cxx:16
TActiveEvent.h