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