Belle II Software
development
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 Tue Nov 12 2024 02:42:11 for Belle II Software by
1.9.6