ATLAS Offline Software
Control
AthContainers
AthContainers
tools
AthContainers/AthContainers/tools/CurrentEventStore.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id$
17
#ifndef ATHCONTAINERS_CURRENTEVENTSTORE_H
18
#define ATHCONTAINERS_CURRENTEVENTSTORE_H
19
20
21
#ifdef XAOD_STANDALONE
22
#include "
xAODRootAccessInterfaces/TVirtualEvent.h
"
23
#include "
xAODRootAccessInterfaces/TActiveEvent.h
"
24
25
namespace
AthContainers {
26
typedef
xAOD::TVirtualEvent
IProxyDict
;
27
}
28
namespace
SG
{
29
class
CurrentEventStore
30
{
31
public
:
32
static
AthContainers::IProxyDict*
store
()
33
{
34
return
xAOD::TActiveEvent::event
();
35
}
36
};
37
}
// namespace SG
38
#else
39
#include "
SGTools/CurrentEventStore.h
"
40
#include "
AthenaKernel/IProxyDict.h
"
41
#endif
42
43
44
#endif // not ATHCONTAINERS_CURRENTEVENTSTORE_H
xAOD::TVirtualEvent
Base interface for getting objects out of the input file.
Definition:
TVirtualEvent.h:32
CurrentEventStore.h
Hold a pointer to the current event store.
SG
Forward declaration.
Definition:
CaloCellPacker_400_500.h:32
SG::CurrentEventStore::store
static IProxyDict * store()
Fetch the current store.
IProxyDict
A proxy dictionary.
Definition:
AthenaKernel/AthenaKernel/IProxyDict.h:47
xAOD::TActiveEvent::event
static TVirtualEvent * event()
Access the currently active TVirtualEvent object.
Definition:
TActiveEvent.cxx:16
TVirtualEvent.h
IProxyDict.h
TActiveEvent.h
Generated on Thu Nov 7 2024 21:13:02 for ATLAS Offline Software by
1.8.18