ATLAS Offline Software
ReadMetaHandleKey.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef STOREGATE_READMETAHANDLEKEY_H
6 #define STOREGATE_READMETAHANDLEKEY_H
7 
9 #include <string>
10 
11 namespace SG {
12 
13  template <class T> class ReadMetaHandle;
14 
15  template <class T> class ReadMetaHandleKey
16  : public MetaHandleKey<T>
17  {
18  public:
19  friend class ReadMetaHandle<T>;
20 
21  ReadMetaHandleKey (const std::string& key
22  , const std::string& dbKey="")
24  {}
25 
26  template <
27  class OWNER
29  inline ReadMetaHandleKey( OWNER* owner
30  , std::string name
31  , const std::string& key={}
32  , std::string doc="")
34  auto p = owner->declareProperty(std::move(name), *this, std::move(doc));
35  p->template setOwnerType<OWNER>();
36  }
37 
38  };
39 
40 } // namespace SG
41 
42 #endif // not STOREGATE_READMETAHANDLEKEY_H
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
SG::ReadMetaHandleKey
Definition: ReadMetaHandleKey.h:17
MetaHandleKey.h
athena.value
value
Definition: athena.py:122
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
LHEF::Reader
Pythia8::Reader Reader
Definition: Prophecy4fMerger.cxx:11
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
SG::ReadMetaHandle
Definition: MetaCont.h:21
DataHandle
an iterator over instances of a given type in StoreGateSvc. It d-casts and caches locally the pointed...
Definition: DataHandle.h:42
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Gaudi
=============================================================================
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:273
SG::ReadMetaHandleKey::ReadMetaHandleKey
ReadMetaHandleKey(const std::string &key, const std::string &dbKey="")
Definition: ReadMetaHandleKey.h:21
SG::ReadMetaHandleKey::ReadMetaHandleKey
ReadMetaHandleKey(OWNER *owner, std::string name, const std::string &key={}, std::string doc="")
Definition: ReadMetaHandleKey.h:29
SG::MetaHandleKey
Definition: MetaHandleKey.h:19
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35
SG::MetaHandleKey::dbKey
const MetaContBase::SourceID & dbKey() const
Definition: MetaHandleKey.h:28