14 <input>SVDValidationTTreeRecoTrack.root</input>
15 <input>SVDValidationTTreeSpacePoint.root</input>
16 <output>SVDTrackingPerformance.root</output>
18 Validation plots related to tracking performance.
21 SVD Software Group, svd-software@belle2.org
27 import plotUtils
as pu
29 inputRT = R.TFile.Open(
"../SVDValidationTTreeRecoTrack.root")
30 inputSP = R.TFile.Open(
"../SVDValidationTTreeSpacePoint.root")
32 treeRT = inputRT.Get(
"tree")
33 treeSP = inputSP.Get(
"tree")
35 histsTP = R.TFile.Open(
"SVDTrackingPerformance.root",
"recreate")
39 name=
'SpacePointTime_U',
40 title=
'SpacePoint time on U side',
44 x_label=
'SP time (ns)',
50 descr=
'Time of the U cluster which belong to Space Point. Distribution for all clusters: signal + background.',
51 check=
'Distribution peak around 0.',
56 name=
'SpacePointTime_V',
57 title=
'SpacePoint time on V side',
61 x_label=
'SP time (ns)',
67 descr=
'Time of the V cluster which belong to SP. Distribution for all clusters: signal + background.',
68 check=
'Distribution peak around 0 for signal.',
73 name=
'cluster_UVTimeDiff',
74 title=
'U-V time difference',
78 x_label=
'Cluster time difference (ns)',
82 expr=
'cluster_UVTimeDiff',
84 descr=
'Time difference between opposite sides of clusters belonging to the same layer.\
85 Distribution for signal clusters.',
86 check=
'Distribution peak around 0 for signal.',
91 name=
'cluster_UUTimeDiff',
92 title=
'U-U time difference',
96 x_label=
'Cluster time difference (ns)',
98 granules=pu.granulesTD,
100 expr=
'cluster_UUTimeDiff',
101 cut=pu.cut_U+pu.cut_oneTH,
102 descr=
'Time difference between clusters belonging to the neighbour layers.\
103 Distribution for signal clusters.',
104 check=
'Distributions peak around 0.',
109 name=
'cluster_VVTimeDiff',
110 title=
'V-V time difference',
114 x_label=
'Cluster time difference (ns)',
116 granules=pu.granulesTD,
118 expr=
'cluster_VVTimeDiff',
119 cut=pu.cut_V+pu.cut_oneTH,
120 descr=
'Time difference between clusters belonging to the neighbour layers.\
121 Distribution for signal clusters.',
122 check=
'Distributions peak around 0.',
127 name=
'ClusterizationPurity_U',
128 title=
'Purity of clusters from tracks for U side',
129 x_label=
'SVD regions',
131 granules=pu.granulesLayersTypes,
136 descr=
'Definition: (number of clusters related to one TrueHit) / (number of clusters).\
137 Evaluates the fraction of signal cluster over the total number of signal and background clusters.',
138 check=
'Should be close to 1 in all bins',
143 name=
'ClusterizationPurity_V',
144 title=
'Purity of clusters from tracks for V side',
145 x_label=
'SVD regions',
147 granules=pu.granulesLayersTypes,
152 descr=
'Definition: (number of clusters related to one TrueHit) / (number of clusters).\
153 Evaluates the fraction of signal cluster over the total number of signal and background clusters.',
154 check=
'Should be close to 1 in all bins.',
159 name=
'clusters_number',
160 title=
'Number of clusters in one track',
164 x_label=
'Number of clusters in one track',
166 granules=pu.granulesL3456,
168 expr=
'clusters_number',
170 descr=
'Number of all clusters (signal + background) in one track.',
171 check=
'Maximum is expected for 8, i.e. each cluster for one of 4 layers,\
172 separately for U and V side.',