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
SVDOtherValidations.py
1
# !/usr/bin/env python3
2
3
10
11
"""
12
<header>
13
<input>SVDValidationTTreeSimhit.root</input>
14
<output>SVDOtherValidations.root</output>
15
<description>
16
Additional validation plots
not
related to other categories.
17
</description>
18
<contact>
19
SVD Software Group, svd-software
@belle2.org
20
</contact>
21
</header>
22
"""
23
24
import ROOT as R
25
import plotUtils as pu
26
27
inputSim = R.TFile.Open("../SVDValidationTTreeSimhit.root")
28
29
treeSim = inputSim.Get("tree")
30
31
histsOV = R.TFile.Open("SVDOtherValidations.root", "recreate")
32
33
pu.plotter(
34
name='dEdxForSimhits'
,
35
title=
'dE/dx for SimHits'
,
36
nbins=100,
37
xmin=0,
38
xmax=10,
39
x_label=
'dE/dx (MeV/cm)'
,
40
y_label=
'counts'
,
41
granules=pu.gD2,
42
tree=treeSim,
43
expr=
'simhit_dEdx*1000'
,
44
cut=
''
,
45
descr=
'Simulated dE/dx for SimHits.'
,
46
check=
'Distribution should peak around 2.8 MeV/cm.'
,
47
isShifter=
False
)
svd
validation
SVDOtherValidations.py
Generated on Thu Apr 10 2025 02:41:16 for Belle II Software by
1.9.6