Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework
master (f31105fd)
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
c
d
e
f
i
l
m
n
o
p
q
r
s
t
v
Enumerator
a
b
c
d
e
f
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Properties
Related Functions
:
a
b
c
d
e
g
h
i
m
o
p
r
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
b
c
e
f
g
h
i
l
m
n
o
p
r
s
t
u
z
Variables
a
b
c
d
e
g
h
i
m
o
p
q
r
s
t
v
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
Enumerations
Enumerator
c
e
f
p
u
v
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
DODBasicMapper.cpp
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
// Include files
12
13
#include <
Gaudi/Parsers/CommonParsers.h
>
14
#include <
GaudiKernel/HashMap.h
>
15
// Local implementation of parsers from HashMap
16
namespace
Gaudi
{
17
namespace
Parsers {
20
template
<
typename
K,
typename
V>
21
StatusCode
parse
(
GaudiUtils::HashMap<K, V>
& result, std::string_view input ) {
22
std::map<std::string, std::string>
tmp;
23
StatusCode
sc =
parse
( tmp, input );
24
if
( sc.
isSuccess
() ) {
25
result.
clear
();
26
result.
insert
( tmp.
begin
(), tmp.
end
() );
27
}
28
return
sc;
29
}
30
}
// namespace Parsers
31
}
// namespace Gaudi
32
33
// local
34
#include "
DODBasicMapper.h
"
35
36
// ----------------------------------------------------------------------------
37
// Implementation file for class: DODBasicMapper
38
//
39
// 16/01/2012: Marco Clemencic
40
// ----------------------------------------------------------------------------
41
DECLARE_COMPONENT
(
DODBasicMapper
)
42
43
Gaudi
::Utils::TypeNameString
DODBasicMapper
::algorithmForPath( const
std
::
string
&
path
) {
44
auto
alg
= m_algMap.find(
path
);
45
return
(
alg
!= m_algMap.end() ) ?
alg
->second :
""
;
46
}
47
48
std::string
DODBasicMapper::nodeTypeForPath
(
const
std::string
&
path
) {
49
auto
node =
m_nodeMap
.find(
path
);
50
return
( node !=
m_nodeMap
.end() ) ? node->second :
""
;
51
}
52
53
// ============================================================================
std::string
STL class.
AtlasMCRecoFullPrecedenceDump.path
path
Definition:
AtlasMCRecoFullPrecedenceDump.py:49
DODBasicMapper
Definition:
DODBasicMapper.h:29
StatusCode::isSuccess
bool isSuccess() const
Definition:
StatusCode.h:315
Gaudi::Parsers::parse
StatusCode parse(GaudiUtils::HashMap< K, V > &result, std::string_view input)
Basic parser for the types of HashMap used in DODBasicMapper.
Definition:
DODBasicMapper.cpp:21
HashMap.h
ManySmallAlgs.alg
alg
Definition:
ManySmallAlgs.py:81
GaudiUtils::Map< K, T, std::unordered_map< K, T, Hash< K > > >::clear
void clear()
Definition:
Map.h:195
StatusCode
Definition:
StatusCode.h:65
std::map< std::string, std::string >
DODBasicMapper::m_nodeMap
MapProp< std::string > m_nodeMap
Definition:
DODBasicMapper.h:44
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition:
__init__.py:1
DODBasicMapper::nodeTypeForPath
std::string nodeTypeForPath(const std::string &path) override
Definition:
DODBasicMapper.cpp:48
CommonParsers.h
std::map::begin
T begin(T... args)
std
STL namespace.
DECLARE_COMPONENT
#define DECLARE_COMPONENT(type)
Definition:
PluginServiceV1.h:46
GaudiUtils::Map< K, T, std::unordered_map< K, T, Hash< K > > >::insert
std::pair< iterator, bool > insert(ValueType &&val)
Definition:
Map.h:178
DODBasicMapper.h
std::map::end
T end(T... args)
GaudiUtils::HashMap
Definition:
HashMap.h:83
GaudiCoreSvc
src
IncidentSvc
DODBasicMapper.cpp
Generated on Mon Apr 7 2025 16:26:20 for The Gaudi Framework by
1.8.18