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
SVDValidationRecoDigitPerformance.py
1
# !/usr/bin/env python3
2
3
10
11
"""
12
<header>
13
<input>SVDValidationTTreeRecoDigit.root</input>
14
<output>SVDRecoDigitPerformance.root</output>
15
<description>
16
Validation plots related to RecoDigit performance.
17
</description>
18
<contact>
19
SVD Software Group, svd-software
@belle2.org
20
</contact>
21
</header>
22
"""
23
24
import ROOT as R
25
26
import plotUtils as pu
27
28
inputRD = R.TFile.Open("../SVDValidationTTreeRecoDigit.root")
29
30
treeRD = inputRD.Get("tree")
31
32
histsRDP = R.TFile.Open("SVDRecoDigitPerformance.root", "recreate")
33
34
pu.plotter(
35
name='TimeResolution'
,
36
title=
'Resolution of the reconstructed time of a single strip'
,
37
nbins=200,
38
xmin=-100,
39
xmax=100,
40
x_label=
'RecoDigit time resolution (ns)'
,
41
y_label=
'counts'
,
42
granules=pu.gD,
43
tree=treeRD,
44
expr=
'recodigit_time - truehit_time'
,
45
cut=
''
,
46
descr=
'Definition: (reconstructed time of the RecoDigit) - (time of the Truehit);\
47
for all RecoDigit related to at least one TrueHit.'
,
48
check=
'Distribution should be centered around 0, with an RMS between 7 and 10 ns.'
,
49
isShifter=
True
)
50
51
pu.plotter(
52
name=
'StripCharge'
,
53
title=
'Charge of the strip'
,
54
nbins=50,
55
xmin=0,
56
xmax=120000,
57
x_label=
'Strip charge (e-)'
,
58
y_label=
'counts'
,
59
granules=pu.gD,
60
tree=treeRD,
61
expr=
'recodigit_charge'
,
62
cut=
''
,
63
descr=
'Strip charge for all RecoDigits related to at least one TrueHit.'
,
64
check=
''
,
65
isShifter=
False
)
svd
validation
SVDValidationRecoDigitPerformance.py
Generated on Wed Apr 9 2025 02:45:45 for Belle II Software by
1.9.6