Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ThinningHandleKey.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 */
13 #ifndef STOREGATE_THINNINGHANDLEKEY_H
14 #define STOREGATE_THINNINGHANDLEKEY_H
15 
19 #include "GaudiKernel/IDataHandleHolder.h"
20 
21 
22 namespace SG {
23 
24 
35 template <class T>
37  : public ReadHandleKey<T>
38 {
39 public:
41 
42 
52  explicit
53  ThinningHandleKey (const std::string& key = "",
54  const std::string& storeName = StoreID::storeName(StoreID::EVENT_STORE));
55 
56 
58 
59 
73  template <class OWNER,
75  ThinningHandleKey( OWNER* owner,
76  const std::string& name,
77  const std::string& key,
78  const std::string& doc);
79 
80 
86 
87 
96  ThinningHandleKey& operator= (const std::string& sgkey);
97 
98 
111  StatusCode initialize (const std::string& stream,
112  const std::string& qualifier,
113  bool used = true);
114 
115 
128  StatusCode initialize (const std::string& stream,
129  const char* qualifier,
130  bool used = true);
131 
132 
140  StatusCode initialize (const std::string& stream,
141  bool used = true);
142 
143 
148 
149 
150 private:
153 };
154 
155 
156 } // namespace SG
157 
158 
160 
161 
162 #endif // not STOREGATE_THINNINGHANDLEKEY_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
used
common.sgkey
def sgkey(tool)
Definition: common.py:1028
SG::ThinningHandleKey::decisionHandleKey
const WriteHandleKey< ThinningDecision > & decisionHandleKey() const
Return the write key for the thinning decision.
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
SG::ThinningHandleKey::operator=
ThinningHandleKey & operator=(const ThinningHandleKey &other)
Assignment.
SG::ThinningHandleKey
HandleKey object for adding thinning to an object.
Definition: ThinningHandleKey.h:38
athena.value
value
Definition: athena.py:124
SG::ThinningHandleKey::initialize
StatusCode initialize(const std::string &stream, bool used=true)
Should be called during the initialize phase.
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
ThinningHandleKey.icc
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
SG::ThinningHandleKey::initialize
StatusCode initialize(const std::string &stream, const std::string &qualifier, bool used=true)
Should be called during the initialize phase.
SG::ThinningHandleKey::ThinningHandleKey
ThinningHandleKey(const ThinningHandleKey &)=default
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
SG::ThinningHandleKey::Base
ReadHandleKey< T > Base
Definition: ThinningHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ThinningDecision.h
Hold thinning decisions for one container.
SG::ThinningHandleKey::ThinningHandleKey
ThinningHandleKey(OWNER *owner, const std::string &name, const std::string &key, const std::string &doc)
Auto-declaring Property constructor.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::ThinningHandleKey::initialize
StatusCode initialize(const std::string &stream, const char *qualifier, bool used=true)
Should be called during the initialize phase.
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
SG::ThinningHandleKey::ThinningHandleKey
ThinningHandleKey(const std::string &key="", const std::string &storeName=StoreID::storeName(StoreID::EVENT_STORE))
Constructor.
StoreID::EVENT_STORE
@ EVENT_STORE
Definition: StoreID.h:26
StoreID::storeName
static const std::string & storeName(const StoreID::type &s)
Definition: StoreID.cxx:77
SG::ThinningHandleKey::m_decisionKey
WriteHandleKey< ThinningDecision > m_decisionKey
Thinning decision write key.
Definition: ThinningHandleKey.h:152