ATLAS Offline Software
Control
StoreGate
StoreGate
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
8
#include "
StoreGate/MetaHandleKey.h
"
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
=
""
)
23
:
MetaHandleKey
<
T
>(
key
,
dbKey
,
Gaudi
::
DataHandle
::
Reader
)
24
{}
25
26
template
<
27
class
OWNER
28
,
typename
=
typename
std::enable_if<std::is_base_of<IProperty, OWNER>::value
>
::type
>
29
inline
ReadMetaHandleKey
( OWNER* owner
30
, std::string
name
31
,
const
std::string&
key
={}
32
, std::string
doc
=
""
)
33
:
ReadMetaHandleKey<T>
(
key
) {
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
SG
Forward declaration.
Definition:
CaloCellPacker_400_500.h:32
SG::ReadMetaHandleKey
Definition:
ReadMetaHandleKey.h:17
MetaHandleKey.h
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
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
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:221
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
Generated on Thu Nov 7 2024 21:24:32 for ATLAS Offline Software by
1.8.18