Belle II Software
development
Toggle main menu visibility
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
Enumerator
c
d
f
p
t
v
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
KLMK0LPlot.py
1
#!/usr/bin/env python3
2
3
10
11
"""
12
<header>
13
<input>KLMK0LOutput.root</input>
14
<contact>Leo Piilonen (piilonen
@vt.edu
)</contact>
15
<description>Creation of KLM K0L validation plots.</description>
16
</header>
17
"""
18
19
import basf2
20
from KLMK0LPlotModule import KLMK0LPlotModule
21
22
# Input.
23
root_input = basf2.register_module('RootInput')
24
root_input.param('inputFileName', '../KLMK0LOutput.root')
25
26
# Plotting.
27
klmk0lplot = KLMK0LPlotModule('KLMK0L.root', True, False)
28
29
# Create main path.
30
main = basf2.create_path()
31
32
# Add modules to main path
33
main.add_module(root_input)
34
main.add_module(klmk0lplot)
35
36
main.add_module('Progress')
37
# Run.
38
basf2.process(main)
klm
validation
KLMK0LPlot.py
Generated on Thu Apr 10 2025 02:38:28 for Belle II Software by
1.9.6