Belle II Software
release-06-02-00
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
z
Typedefs
a
b
c
d
e
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
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
DQMAnalysisKLM.py
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
4
11
12
import
basf2
13
14
# Set log level.
15
basf2.set_log_level(basf2.LogLevel.INFO)
16
17
# Create main path.
18
main = basf2.create_path()
19
20
# Input module.
21
main.add_module(
'DQMHistAnalysisInputRootFile'
,
22
Experiment=0,
23
RunList=[0],
24
EventsList=[1],
25
EventInterval=1,
26
FileList=[
'KLMDQM.root'
],
27
SelectHistograms=[
'KLM/*'
,
'DAQ/*'
])
28
29
# KLM DQM analysis module.
30
main.add_module(
'DQMHistAnalysisKLM'
)
31
32
# Output module.
33
main.add_module(
'DQMHistAnalysisOutputFile'
,
34
HistoFile=
'KLMDQMAnalysed.root'
,
35
SaveHistos=
False
,
36
SaveCanvases=
True
)
37
38
# Process main path.
39
basf2.process(main)
40
41
# Print modules' statistics.
42
print(basf2.statistics)
dqm
analysis
examples
DQMAnalysisKLM.py
Generated on Thu Dec 28 2023 02:23:06 for Belle II Software by
1.9.1