Belle II Software
release-08-00-10
Main Page
Modules
Namespaces
Namespace List
Namespace 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
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
x
z
Typedefs
a
b
c
d
e
g
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
a
b
c
e
f
g
n
p
s
v
z
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
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
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
Typedefs
Macros
tsim_grl_gdl.py
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
4
11
12
# The example of running grl and gdl of L1 trigger, conjunction with tsim_subdetectors.py
13
# basf2 tsim_grl_gdl.py -i inputrootfile -o outputrootfile
14
# the inputrootfile should be the output file of tsim_subdetectors.py
15
16
import
basf2
as
b2
17
from
L1trigger
import
add_grl_gdl_tsim
18
19
main = b2.create_path()
20
main.add_module(
'RootInput'
)
21
# add trigger simlation of sub detectors (CDC, ECL, and bKLM are included currently)
22
add_grl_gdl_tsim(main)
23
24
# output
25
main.add_module(
'RootOutput'
)
26
27
28
# main
29
b2.process(main)
30
print(b2.statistics)
31
# ===<END>
trg
examples
tsim_grl_gdl.py
Generated on Fri Aug 9 2024 01:13:09 for Belle II Software by
1.9.1