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