ATLAS Offline Software
Control
xAODRootAccessInterfaces
Root
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):
9
#include "
xAODRootAccessInterfaces/TActiveEvent.h
"
10
11
namespace
xAOD
{
12
14
TTHREAD_TLS
(
TVirtualEvent
* ) s_event;
15
16
TVirtualEvent
*
TActiveEvent::event
() {
17
18
return
s_event;
19
}
20
21
void
TActiveEvent::setEvent
(
TVirtualEvent
*
ptr
) {
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
Generated on Thu Nov 7 2024 21:26:55 for ATLAS Offline Software by
1.8.18