ATLAS Offline Software
Loading...
Searching...
No Matches
getThinningCache.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 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
4 */
11
12
13#ifndef ATHENAKERNEL_GETTHINNINGCACHE_H
14#define ATHENAKERNEL_GETTHINNINGCACHE_H
15
16
17#include "SGCore/sgkey_t.h"
18#include <string>
19class EventContext;
20
21
22namespace SG {
23 class ThinningCache;
24 class ThinningInfo;
26
27
34const SG::ThinningCache* getThinningCache (const EventContext& ctx);
35
36
41const SG::ThinningCache* getThinningCache();
42
43
51const SG::ThinningInfo* getThinningInfo (const EventContext& ctx,
52 const std::string& key);
53
54
61const SG::ThinningInfo* getThinningInfo (const std::string& key);
62
63
71const SG::ThinningDecisionBase* getThinningDecision (const EventContext& ctx,
72 const std::string& key);
73
74
81const SG::ThinningDecisionBase* getThinningDecision (const std::string& key);
82
83
91const SG::ThinningDecisionBase* getThinningDecision (const EventContext& ctx,
92 const sgkey_t sgkey);
93
94
102const SG::ThinningDecisionBase* getThinningDecision (const sgkey_t sgkey);
103
104
105} // namespace SG
106
107
108#endif // not ATHENAKERNEL_GETTHINNINGCACHE_H
Cache thinning decisions for converters.
Hold thinning decisions for one container.
Hold thinning/slimming information for a given object.
Forward declaration.
uint32_t sgkey_t
Type used for hashed StoreGate key+CLID pairs.
Definition sgkey_t.h:32
const SG::ThinningCache * getThinningCache()
Retrieve the current thinning cache from the current event context.
const SG::ThinningDecisionBase * getThinningDecision(const EventContext &ctx, const std::string &key)
Retrieve the current thinning decision for key.
const SG::ThinningInfo * getThinningInfo(const EventContext &ctx, const std::string &key)
Retrieve the current thinning information for key.