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
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
Trigger
EFTracking
FPGATrackSim
FPGATrackSimMaps
src
FPGATrackSimNNMap.cxx
Go to the documentation of this file.
1
// Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
10
#include "
FPGATrackSimMaps/FPGATrackSimNNMap.h
"
11
12
#include <string>
13
#include <sstream>
14
#include <exception>
15
#include <
AsgMessaging/MessageCheck.h
>
16
17
using namespace
std;
18
using namespace
asg::msgUserCode;
19
21
// Constructor/Desctructor
23
24
25
26
FPGATrackSimNNMap::FPGATrackSimNNMap
(
const
std::string & filepath) :
27
m_weightsFileName(filepath)
28
{
29
// Open file with NN weights
30
std::ifstream input_cfg(
m_weightsFileName
.c_str());
31
if
(input_cfg.is_open())
32
ANA_MSG_INFO
(
"Opened file: "
<<
m_weightsFileName
);
33
else
{
34
ANA_MSG_FATAL
(
"Unable to open file: "
<<
m_weightsFileName
);
35
throw
(
"FPGATrackSimNNMap could not open "
+
m_weightsFileName
);
36
}
37
38
}
39
40
41
const
std::string&
FPGATrackSimNNMap::getNNMap
()
const
{
return
m_weightsFileName
;}
FPGATrackSimNNMap.h
Map for NN tracking.
FPGATrackSimNNMap::getNNMap
const std::string & getNNMap() const
Definition:
FPGATrackSimNNMap.cxx:41
FPGATrackSimNNMap::m_weightsFileName
std::string m_weightsFileName
Definition:
FPGATrackSimNNMap.h:44
FPGATrackSimNNMap::FPGATrackSimNNMap
FPGATrackSimNNMap(const std::string &filepath)
Definition:
FPGATrackSimNNMap.cxx:26
ANA_MSG_INFO
#define ANA_MSG_INFO(xmsg)
Macro printing info messages.
Definition:
Control/AthToolSupport/AsgMessaging/AsgMessaging/MessageCheck.h:290
MessageCheck.h
macros for messaging and checking status codes
ANA_MSG_FATAL
#define ANA_MSG_FATAL(xmsg)
Macro printing fatal messages.
Definition:
Control/AthToolSupport/AsgMessaging/AsgMessaging/MessageCheck.h:296
Generated on Thu Mar 20 2025 21:10:58 for ATLAS Offline Software by
1.8.18