ATLAS Offline Software
Control
AthToolSupport
AsgDataHandles
AsgDataHandles
AthToolSupport/AsgDataHandles/AsgDataHandles/ReadHandleKey.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-2020 CERN for the benefit of the ATLAS collaboration
5
*/
6
15
#ifndef ASG_DATA_HANDLES_READ_HANDLE_KEY_H
16
#define ASG_DATA_HANDLES_READ_HANDLE_KEY_H
17
18
#ifndef XAOD_STANDALONE
19
#include <
StoreGate/ReadHandleKey.h
>
20
#else
21
22
#include "
AsgDataHandles/VarHandleKey.h
"
23
24
25
namespace
SG
{
26
27
33
template
<
class
T>
34
class
ReadHandleKey
35
:
public
VarHandleKey
36
{
37
public
:
47
ReadHandleKey
(
const
std::string&
key
=
""
);
48
// const std::string& storeName = StoreID::storeName(StoreID::EVENT_STORE));
49
50
64
template
<
class
OWNER,
class
K>
65
ReadHandleKey
( OWNER* owner,
66
const
std::string&
name
,
67
const
K&
key
= {},
68
const
std::string&
doc
=
""
);
69
70
79
ReadHandleKey
&
operator=
(
const
std::string&
sgkey
);
80
};
81
82
83
}
// namespace SG
84
85
86
#include "
AsgDataHandles/ReadHandleKey.icc
"
87
88
#endif
89
90
#endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
common.sgkey
def sgkey(tool)
Definition:
common.py:1028
SG
Forward declaration.
Definition:
CaloCellPacker_400_500.h:32
ReadHandleKey.icc
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::ReadHandleKey
ReadHandleKey(const std::string &key="", const std::string &storeName=StoreID::storeName(StoreID::EVENT_STORE))
Constructor.
merge_scale_histograms.doc
string doc
Definition:
merge_scale_histograms.py:9
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
SG::ReadHandleKey::operator=
ReadHandleKey & operator=(const std::string &sgkey)
Change the key of the object to which we're referring.
VarHandleKey.h
A property holding a SG store/key/clid from which a VarHandle is made.
Generated on Thu Nov 7 2024 21:24:31 for ATLAS Offline Software by
1.8.18