Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
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
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
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
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
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
y
z
Enumerations
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
Enumerator
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
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File 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
l
m
n
o
p
q
r
s
t
u
v
w
x
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
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Enumerator
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
Macros
_
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
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
PhysicsAnalysis
JetTagging
FlavorTagInference
Root
GNNOptions.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
FlavorTagInference/GNNOptions.h
"
6
7
#include "
src/hash.h
"
8
9
namespace
FlavorTagInference
{
10
std::size_t
GNNOptions::hash
()
const
{
11
size_t
hash
=
getHash
(
flip_config
);
12
for
(
const
auto
& [
k
,
v
]:
variable_remapping
) {
13
hash
=
combine
(
hash
,
getHash
(
k
) ^
getHash
(
v
));
14
}
15
hash
=
combine
(
hash
,
getHash
(
track_link_type
));
16
hash
=
combine
(
hash
,
getHash
(
default_output_value
));
17
for
(
const
auto
& [
k
,
v
]:
default_output_values
) {
18
hash
=
combine
(
hash
,
getHash
(
k
) ^
getHash
(
v
));
19
}
20
hash
=
combine
(
hash
,
getHash
(
default_zero_tracks
));
21
return
hash
;
22
}
23
bool
GNNOptions::operator==
(
const
GNNOptions
& o)
const
{
24
return
25
flip_config
== o.
flip_config
&&
26
variable_remapping
== o.
variable_remapping
&&
27
track_link_type
== o.
track_link_type
&&
28
default_output_value
== o.
default_output_value
&&
29
default_output_values
== o.
default_output_values
&&
30
default_zero_tracks
== o.
default_zero_tracks
;
31
}
32
}
33
FlavorTagInference::GNNOptions::default_output_value
float default_output_value
Definition:
GNNOptions.h:20
FlavorTagInference::GNNOptions::flip_config
FlipTagConfig flip_config
Definition:
GNNOptions.h:17
FlavorTagInference
This file contains "getter" functions used for accessing tagger inputs from the EDM.
Definition:
AssociationEnums.h:11
FlavorTagInference::GNNOptions::operator==
bool operator==(const GNNOptions &) const
Definition:
GNNOptions.cxx:23
FlavorTagInference::GNNOptions::hash
std::size_t hash() const
Definition:
GNNOptions.cxx:10
GNNOptions.h
FlavorTagInference::GNNOptions::default_output_values
std::map< std::string, float > default_output_values
Definition:
GNNOptions.h:21
FlavorTagInference::GNNOptions::default_zero_tracks
bool default_zero_tracks
Definition:
GNNOptions.h:22
FlavorTagInference::GNNOptions
Definition:
GNNOptions.h:16
python.PyAthena.v
v
Definition:
PyAthena.py:154
hash.h
FlavorTagInference::getHash
std::size_t getHash(const T &obj)
Definition:
hash.h:13
FlavorTagInference::GNNOptions::track_link_type
TrackLinkType track_link_type
Definition:
GNNOptions.h:19
FlavorTagInference::GNNOptions::variable_remapping
std::map< std::string, std::string > variable_remapping
Definition:
GNNOptions.h:18
FlavorTagInference::combine
size_t combine(size_t lhs, size_t rhs)
Definition:
hash.h:21
fitman.k
k
Definition:
fitman.py:528
Generated on Wed May 7 2025 21:10:19 for ATLAS Offline Software by
1.8.18