|
ATLAS Offline Software
|
Go to the documentation of this file.
21 const EventContext& ctx)
24 Cache&
c = *slots.get (ctx);
25 std::lock_guard lock (
c.m_mutex);
26 if (
c.m_evt != ctx.evt()) {
32 auto it =
c.m_map.try_emplace (
key, std::unique_ptr<eflowTrackClusterLink>()).first;
34 it->second = std::make_unique<eflowTrackClusterLink>(
track,cluster);
36 return it->second.get();
This class extends the information about a xAOD::CaloCluster.
std::pair< eflowRecTrack *, eflowRecCluster * > key_t
Stores pointers to an eflowRecTrack and an eflowRecCluster.
This class extends the information about a xAOD::Track.
Maintain a set of objects, one per slot.
static eflowTrackClusterLink * getInstance(eflowRecTrack *track, eflowRecCluster *cluster, const EventContext &ctx=Gaudi::Hive::currentContext())
Maintain a set of objects, one per slot.
#define ATLAS_THREAD_SAFE
Define macros for attributes used to control the static checker.