Belle II Software
release-06-00-14
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
pxd_roi_plotter.py
1
#!/usr/bin/env python3
2
# -*- coding: utf-8 -*-
3
4
11
12
13
import
basf2
as
b2
14
from
ROOT
import
gROOT
15
16
import
PXDROIUnpackerModule
17
18
# prevent Canvases from popping up on x11
19
gROOT.SetBatch()
20
21
main = b2.create_path()
22
23
# main.add_module('RootInput')
24
main.add_module(
'SeqRootInput'
)
25
26
main.add_module(
'Progress'
)
27
28
main.add_module(
'PXDUnpacker'
)
29
30
'''Unpack ROIs from ONSEN output'''
31
main.add_module(
PXDROIUnpackerModule.PXDRawROIUnpackerModule
())
32
33
'''Unpack ROIs from HLT Payload (depends if there are in the sroot file)'''
34
# main.add_module(PXDROIUnpackerModule.PXDPayloadROIUnpackerModule())
35
36
plotter = b2.register_module(
'PXDROIPlot'
)
37
plotter.param(
"ROIsName"
,
"ROIs"
)
# calculated on HLT ... before Payload assemly
38
# plotter.param("ROIsName","PXDROIsPayHLT") # calculated on HLT ... unpacked from payload (depends whats in the sroot file)
39
plotter.param(
"DCROIsName"
,
"PXDROIsDC"
)
# output from DATCON by ONSEN
40
plotter.param(
"HLTROIsName"
,
"PXDROIsHLT"
)
# output from HLT by ONSEN
41
main.add_module(plotter)
42
43
b2.process(main)
PXDROIUnpackerModule.PXDRawROIUnpackerModule
Definition:
PXDROIUnpackerModule.py:16
pxd
examples
pxd_roi_plotter.py
Generated on Thu Jul 14 2022 08:04:11 for Belle II Software by
1.9.1