ATLAS Offline Software
UpdateHandleKey.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 /*
4  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id$
16 #ifndef STOREGATE_UPDATEHANDLEKEY_H
17 #define STOREGATE_UPDATEHANDLEKEY_H
18 
19 
20 #include "StoreGate/VarHandleKey.h"
21 #include "AthenaKernel/CLASS_DEF.h"
22 
23 
24 namespace SG {
25 
26 
37 template <class T>
39  : public VarHandleKey
40 {
41 public:
51  UpdateHandleKey (const std::string& key = "",
52  const std::string& storeName = StoreID::storeName(StoreID::EVENT_STORE));
53 
67  template <class OWNER,
69  inline UpdateHandleKey (OWNER* owner,
70  std::string name,
71  const std::string& key={},
72  std::string doc="");
81  UpdateHandleKey& operator= (const std::string& sgkey);
82 };
83 
84 
85 } // namespace SG
86 
87 
89 
90 
91 #endif // not STOREGATE_UPDATEHANDLEKEY_H
common.sgkey
def sgkey(tool)
Definition: common.py:1028
VarHandleKey.h
A property holding a SG store/key/clid from which a VarHandle is made.
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
SG::UpdateHandleKey
Property holding a SG store/key/clid from which an UpdateHandle is made.
Definition: UpdateHandleKey.h:40
UpdateHandleKey.icc
athena.value
value
Definition: athena.py:124
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
SG::UpdateHandleKey::operator=
UpdateHandleKey & operator=(const std::string &sgkey)
Change the key of the object to which we're referring.
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
SG::VarHandleKey
A property holding a SG store/key/clid from which a VarHandle is made.
Definition: StoreGate/StoreGate/VarHandleKey.h:62
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
SG::UpdateHandleKey::UpdateHandleKey
UpdateHandleKey(const std::string &key="", const std::string &storeName=StoreID::storeName(StoreID::EVENT_STORE))
Constructor.
StoreID::EVENT_STORE
@ EVENT_STORE
Definition: StoreID.h:26
CLASS_DEF.h
macros to associate a CLID to a type
StoreID::storeName
static const std::string & storeName(const StoreID::type &s)
Definition: StoreID.cxx:77
SG::UpdateHandleKey::UpdateHandleKey
UpdateHandleKey(OWNER *owner, std::string name, const std::string &key={}, std::string doc="")
auto-declaring Property Constructor.