ATLAS Offline Software
Control
StoreGate
StoreGate
StoreGate/StoreGate/DecorKeyHelpers.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
* Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration.
4
*/
13
#ifndef STOREGATE_DECORKEYHELPERS_H
14
#define STOREGATE_DECORKEYHELPERS_H
15
16
17
#include <string>
18
19
20
namespace
SG
{
21
22
class
VarHandleKey;
23
30
std::string
contKeyFromKey
(
const
std::string&
key
);
31
32
39
std::string
decorKeyFromKey
(
const
std::string&
key
);
40
41
50
std::string
makeContDecorKey
(
const
std::string& cont,
const
std::string& decor);
51
52
63
std::string
makeContDecorKey
(
const
VarHandleKey& contKey,
const
std::string&
sgkey
);
64
65
73
void
removeContFromDecorKey
(
const
VarHandleKey& contKey, std::string&
key
);
74
75
}
// namespace SG
76
77
78
#endif // not STOREGATE_DECORKEYHELPERS_H
SG::contKeyFromKey
std::string contKeyFromKey(const std::string &key)
Extract the container part of key.
Definition:
DecorKeyHelpers.cxx:26
common.sgkey
def sgkey(tool)
Definition:
common.py:1028
SG
Forward declaration.
Definition:
CaloCellPacker_400_500.h:32
SG::decorKeyFromKey
std::string decorKeyFromKey(const std::string &key)
Extract the decoration part of key.
Definition:
DecorKeyHelpers.cxx:41
SG::removeContFromDecorKey
void removeContFromDecorKey(const VarHandleKey &contKey, std::string &key)
Remove container name from decoration key.
Definition:
DecorKeyHelpers.cxx:98
SG::makeContDecorKey
std::string makeContDecorKey(const std::string &cont, const std::string &decor)
Make a StoreGate key from container and decoration name.
Definition:
DecorKeyHelpers.cxx:58
mapkey::key
key
Definition:
TElectronEfficiencyCorrectionTool.cxx:37
Generated on Tue Mar 25 2025 21:09:31 for ATLAS Offline Software by
1.8.18