ATLAS Offline Software
Control
AthToolSupport
AsgDataHandles
AsgDataHandles
AthToolSupport/AsgDataHandles/AsgDataHandles/WriteHandleKey.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_WRITE_HANDLE_KEY_H
16
#define ASG_DATA_HANDLES_WRITE_HANDLE_KEY_H
17
18
#ifndef XAOD_STANDALONE
19
#include <
StoreGate/WriteHandleKey.h
>
20
#else
21
22
#include "
AsgDataHandles/VarHandleKey.h
"
23
24
25
namespace
SG
{
26
27
40
template
<
class
T>
41
class
WriteHandleKey
42
:
public
VarHandleKey
43
{
44
public
:
54
WriteHandleKey
(
const
std::string&
key
=
""
);
55
// const std::string& storeName = StoreID::storeName(StoreID::EVENT_STORE));
56
57
71
template
<
class
OWNER,
class
K>
72
inline
WriteHandleKey
(OWNER* owner,
73
std::string
name
,
74
const
K&
key
={},
75
std::string
doc
=
""
);
76
77
86
WriteHandleKey
&
operator=
(
const
std::string&
sgkey
);
87
};
88
89
90
}
// namespace SG
91
92
93
#include "
AsgDataHandles/WriteHandleKey.icc
"
94
95
96
#endif
97
98
#endif
common.sgkey
def sgkey(tool)
Definition:
common.py:1028
SG::WriteHandleKey::WriteHandleKey
WriteHandleKey(const std::string &key="", const std::string &storeName=StoreID::storeName(StoreID::EVENT_STORE))
Constructor.
SG
Forward declaration.
Definition:
CaloCellPacker_400_500.h:32
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition:
AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
SG::WriteHandleKey::operator=
WriteHandleKey & operator=(const std::string &sgkey)
Change the key of the object to which we're referring.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
merge_scale_histograms.doc
string doc
Definition:
merge_scale_histograms.py:9
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
WriteHandleKey.icc
VarHandleKey.h
A property holding a SG store/key/clid from which a VarHandle is made.
Generated on Thu Nov 7 2024 21:31:56 for ATLAS Offline Software by
1.8.18