ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthContainers
AthContainers
AthContainers/AthContainers/CurrentContext.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
9
#ifndef ATHCONTAINERS_CURRENTCONTEXT_H
10
#define ATHCONTAINERS_CURRENTCONTEXT_H
11
12
#ifndef XAOD_STANDALONE
13
#include <GaudiKernel/ThreadLocalContext.h>
14
#else
15
16
class
EventContext;
17
18
namespace
Gaudi
19
{
20
namespace
Hive
21
{
28
29
const
EventContext& currentContext ();
30
}
31
}
32
39
40
class
EventContext
final
41
{
42
// deleting these for now, as users should be passing these objects
43
// by reference.
44
EventContext (
const
EventContext&)
noexcept
=
delete
;
45
EventContext&
operator =
(
const
EventContext&)
noexcept
=
delete
;
46
47
// making this private, so that users can't instantiate their own
48
// EventContext.
49
EventContext () noexcept = default;
50
friend const EventContext& Gaudi::Hive::currentContext ();
51
};
52
53
#endif
54
55
#endif
operator=
ElementLink & operator=(const ElementLink &)=default
EL::Detail::ManagerStep::final
@ final
Definition
ManagerStep.h:136
Gaudi
=============================================================================
Definition
CaloGPUClusterAndCellDataMonitorOptions.h:273
Generated on
for ATLAS Offline Software by
1.17.0