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
Reconstruction
LwtnnUtils
utils
test_lwtnn_fastgraph.cxx
Go to the documentation of this file.
1
#include "
LwtnnUtils/FastGraph.h
"
2
#include "
LwtnnUtils/InputOrder.h
"
3
4
#include "lwtnn/lightweight_network_config.hh"
5
#include "lwtnn/parse_json.hh"
6
7
#include <string>
8
#include <vector>
9
#include <fstream>
10
11
struct
Args
12
{
13
std::string
nn_file
;
14
};
15
16
Args
getArgs
(
int
nargs
,
char
*
argv
[]) {
17
Args
args
;
18
if
(
nargs
!= 1)
return
args
;
19
args
.nn_file =
argv
[1];
20
return
args
;
21
}
22
23
int
main
(
int
nargs
,
char
*
argv
[]) {
24
Args
args
=
getArgs
(
nargs
,
argv
);
25
if
(
args
.nn_file.size() == 0)
return
1;
26
auto
nn_file = std::ifstream(
args
.nn_file);
27
auto
graph_config =
lwt::parse_json_graph
(nn_file);
28
29
lwt::atlas::FastGraph
graph(graph_config, {},
""
);
30
31
return
0;
32
}
Args::nn_file
std::string nn_file
Definition:
test_lwtnn_fastgraph.cxx:13
CaloLCW_tf.nargs
nargs
Definition:
CaloLCW_tf.py:26
python.CaloAddPedShiftConfig.args
args
Definition:
CaloAddPedShiftConfig.py:45
FastGraph.h
Args
Definition:
test_lwtnn_fastgraph.cxx:12
LArCellNtuple.argv
argv
Definition:
LArCellNtuple.py:152
main
int main(int nargs, char *argv[])
Definition:
test_lwtnn_fastgraph.cxx:23
lwt::atlas::FastGraph
Definition:
FastGraph.h:33
InputOrder.h
lwtDev::parse_json_graph
GraphConfig parse_json_graph(std::istream &json)
Definition:
parse_json.cxx:71
getArgs
Args getArgs(int nargs, char *argv[])
Definition:
test_lwtnn_fastgraph.cxx:16
Generated on Wed Apr 16 2025 21:19:49 for ATLAS Offline Software by
1.8.18