Belle II Software  release-08-01-10
collections.py
1 #!/usr/bin/env python3
2 
3 
10 
11 
12 deltae_mbc = ["Mbc", "deltaE"]
13 
14 
15 kinematics = ['px', 'py', 'pz', 'pt', 'p', 'E']
16 
17 
18 cluster = [
19  'clusterKlId',
20  'clusterPulseShapeDiscriminationMVA',
21  'clusterHasPulseShapeDiscrimination',
22  'clusterNumberOfHadronDigits',
23  'clusterDeltaLTemp',
24  'minC2TDist',
25  'nECLClusterTrackMatches',
26  'clusterZernikeMVA',
27  'clusterReg',
28  'clusterAbsZernikeMoment40',
29  'clusterAbsZernikeMoment51',
30  'clusterBelleQuality',
31  'clusterClusterID',
32  'clusterConnectedRegionID',
33  'clusterE1E9',
34  'clusterE9E21',
35  'clusterE9E25',
36  'clusterEoP',
37  'clusterErrorE',
38  'clusterErrorPhi',
39  'clusterErrorTheta',
40  'clusterErrorTiming',
41  'clusterHighestE',
42  'clusterHasFailedErrorTiming',
43  'clusterHasFailedTiming',
44  'clusterHasNPhotons',
45  'clusterHasNeutralHadron',
46  'clusterLAT',
47  'clusterNHits',
48  'clusterPhi',
49  'clusterR',
50  'clusterSecondMoment',
51  'clusterTheta',
52  'clusterTiming',
53  'clusterTrackMatch',
54  'goodBelleGamma',
55 ]
56 
57 
58 event_level_cluster = [
59  'nECLOutOfTimeCrystals',
60  'nECLOutOfTimeCrystalsBWDEndcap',
61  'nECLOutOfTimeCrystalsBarrel',
62  'nECLOutOfTimeCrystalsFWDEndcap',
63  'nRejectedECLShowers',
64  'nRejectedECLShowersBWDEndcap',
65  'nRejectedECLShowersBarrel',
66  'nRejectedECLShowersFWDEndcap',
67  'nKLMMultistripHits',
68  'nKLMMultistripHitsBWDEndcap',
69  'nKLMMultistripHitsBarrel',
70  'nKLMMultistripHitsFWDEndcap',
71  'nECLShowers',
72  'nECLShowersBWDEndcap',
73  'nECLShowersBarrel',
74  'nECLShowersFWDEndcap',
75  'nECLLocalMaximums',
76  'nECLLocalMaximumsBWDEndcap',
77  'nECLLocalMaximumsBarrel',
78  'nECLLocalMaximumsFWDEndcap',
79  'nECLTriggerCells',
80  'nECLTriggerCellsBWDEndcap',
81  'nECLTriggerCellsBarrel',
82  'nECLTriggerCellsFWDEndcap'
83 ]
84 
85 
86 cluster_average = [
87  'maxWeightedDistanceFromAverageECLTime',
88  'weightedAverageECLTime'
89 ]
90 
91 
92 klm_cluster = [
93  'klmClusterKlId',
94  'klmClusterTiming',
95  'klmClusterPositionX',
96  'klmClusterPositionY',
97  'klmClusterPositionZ',
98  'klmClusterInnermostLayer',
99  'klmClusterLayers',
100  'klmClusterEnergy',
101  'klmClusterMomentum',
102  'klmClusterIsBKLM',
103  'klmClusterIsEKLM',
104  'klmClusterIsForwardEKLM',
105  'klmClusterIsBackwardEKLM',
106  'klmClusterTheta',
107  'klmClusterPhi',
108  'nKLMClusterTrackMatches',
109  'nMatchedKLMClusters',
110 ]
111 
112 
113 dalitz_3body = [
114  'daughterInvM(0, 1)', # invariant mass of daughters 1 and 2
115  'daughterInvM(0, 2)', # invariant mass of daughters 1 and 3
116  'daughterInvM(1, 2)', # invariant mass of daughters 2 and 3
117 ]
118 
119 
120 track = ['dr', 'dx', 'dy', 'dz', 'd0', 'z0', 'pValue', 'ndf']
121 
122 
123 track_hits = ['nCDCHits', 'nPXDHits', 'nSVDHits', 'nVXDHits']
124 
125 
126 trackfit_parameters = ['omega', 'omegaErr', 'tanLambda', 'tanLambdaErr',
127  'd0', 'd0Err', 'z0', 'z0Err', 'phi0', 'phi0Err', 'pValue', 'ndf']
128 
129 
130 mc_truth = ['isSignal', 'mcErrors', 'mcPDG']
131 
132 
133 
134 mc_kinematics = ['mcE', 'mcP', 'mcPT', 'mcPX', 'mcPY', 'mcPZ', 'mcPhi']
135 
136 
137 mc_variables = [
138  'genMotherID',
139  'genMotherP',
140  'genMotherPDG',
141  'genParticleID',
142  'isCloneTrack',
143  'mcDecayVertexX',
144  'mcDecayVertexY',
145  'mcDecayVertexZ',
146  'mcDecayTime',
147  'mcE',
148  'mcErrors',
149  'mcInitial',
150  'mcP',
151  'mcPDG',
152  'mcPT',
153  'mcPX',
154  'mcPY',
155  'mcPZ',
156  'mcPhi',
157  'mcVirtual',
158  'nMCMatches',
159 ]
160 
161 
162 pid = [
163  'electronID',
164  'muonID',
165  'pionID',
166  'kaonID',
167  'protonID',
168  'deuteronID',
169  'binaryPID(11, 211)',
170  'binaryPID(13, 211)',
171  'binaryPID(211, 321)',
172  'binaryPID(321, 2212)',
173  'binaryPID(211, 2212)',
174 ]
175 
176 
177 roe_multiplicities = [
178  'nROE_Charged()',
179  'nROE_Photons()',
180  'nROE_NeutralHadrons()'
181 ]
182 
183 
184 roe_kinematics = [
185  'roeE()',
186  'roeM()',
187  'roeP()',
188  'roeMbc()',
189  'roeDeltae()'
190 ]
191 
192 
193 recoil_kinematics = [
194  'pRecoil',
195  'eRecoil',
196  'mRecoil',
197  'pRecoilPhi',
198  'pRecoilTheta',
199  'pxRecoil',
200  'pyRecoil',
201  'pzRecoil',
202 ]
203 
204 
205 flight_info = [
206  'flightTime',
207  'flightDistance',
208  'flightTimeErr',
209  'flightDistanceErr',
210 ]
211 
212 
213 mc_flight_info = ['mcFlightTime', 'mcFlightDistance']
214 
215 
216 vertex = [
217  'distance',
218  'significanceOfDistance',
219  'dx',
220  'dy',
221  'dz',
222  'x',
223  'y',
224  'z',
225  'x_uncertainty',
226  'y_uncertainty',
227  'z_uncertainty',
228  'dr',
229  'dphi',
230  'dcosTheta',
231  'prodVertexX',
232  'prodVertexY',
233  'prodVertexZ',
234  'prodVertexXErr',
235  'prodVertexYErr',
236  'prodVertexZErr',
237  'chiProb',
238 ]
239 
240 
241 mc_vertex = [
242  'mcDecayVertexX',
243  'mcDecayVertexY',
244  'mcDecayVertexZ',
245  'mcDecayVertexFromIPDistance',
246  'mcDecayVertexRho',
247  'mcProductionVertexX',
248  'mcProductionVertexY',
249  'mcProductionVertexZ'
250 ]
251 
252 
253 tag_vertex = [
254  'DeltaT',
255  'DeltaTErr',
256  'DeltaZ',
257  'DeltaZErr',
258  'DeltaBoost',
259  'DeltaBoostErr',
260  'TagVLBoost',
261  'TagVLBoostErr',
262  'TagVOBoost',
263  'TagVOBoostErr',
264  'TagVpVal',
265  'TagVNDF',
266  'TagVChi2',
267  'TagVChi2IP',
268  'TagVx',
269  'TagVxErr',
270  'TagVy',
271  'TagVyErr',
272  'TagVz',
273  'TagVzErr',
274 ]
275 
276 
277 mc_tag_vertex = [
278  'mcDeltaTau',
279  'mcDeltaT',
280  'mcDeltaBoost',
281  'mcTagVLBoost',
282  'mcTagVOBoost',
283  'mcLBoost',
284  'mcOBoost',
285  'mcTagVx',
286  'mcTagVy',
287  'mcTagVz',
288 ]
289 
290 
291 momentum_uncertainty = [
292  'E_uncertainty',
293  'pxErr',
294  'pyErr',
295  'pzErr',
296 ]
297 
298 
299 reco_stats = [
300  'nTracks',
301 ]
302 
303 
304 inv_mass = ['M', 'ErrM', 'SigM', 'InvM']
305 
306 
307 extra_energy = ["roeEextra()"]
308 
309 
310 event_level_tracking = [
311  "nExtraCDCHits",
312  "nExtraCDCHitsPostCleaning",
313  "hasExtraCDCHitsInLayer(0)",
314  "hasExtraCDCHitsInLayer(1)",
315  "hasExtraCDCHitsInLayer(2)",
316  "hasExtraCDCHitsInLayer(3)",
317  "hasExtraCDCHitsInLayer(4)",
318  "hasExtraCDCHitsInLayer(5)",
319  "hasExtraCDCHitsInLayer(6)",
320  "hasExtraCDCHitsInLayer(7)",
321  "nExtraCDCSegments",
322  "trackFindingFailureFlag",
323 ]
324 
325 
326 event_shape = [
327  "foxWolframR1",
328  "foxWolframR2",
329  "foxWolframR3",
330  "foxWolframR4",
331  "harmonicMomentThrust0",
332  "harmonicMomentThrust1",
333  "harmonicMomentThrust2",
334  "harmonicMomentThrust3",
335  "harmonicMomentThrust4",
336  "cleoConeThrust0",
337  "cleoConeThrust1",
338  "cleoConeThrust2",
339  "cleoConeThrust3",
340  "cleoConeThrust4",
341  "cleoConeThrust5",
342  "cleoConeThrust6",
343  "cleoConeThrust7",
344  "cleoConeThrust8",
345  "sphericity",
346  "aplanarity",
347  "thrust",
348  "thrustAxisCosTheta",
349 ]
350 
351 
352 event_kinematics = [
353  "missingMomentumOfEvent",
354  "missingMomentumOfEvent_Px",
355  "missingMomentumOfEvent_Py",
356  "missingMomentumOfEvent_Pz",
357  "missingMomentumOfEvent_theta",
358  "missingMomentumOfEventCMS",
359  "missingMomentumOfEventCMS_Px",
360  "missingMomentumOfEventCMS_Py",
361  "missingMomentumOfEventCMS_Pz",
362  "missingMomentumOfEventCMS_theta",
363  "missingEnergyOfEventCMS",
364  "missingMass2OfEvent",
365  "visibleEnergyOfEventCMS",
366  "totalPhotonsEnergyOfEvent"
367 ]
368 
369 
370 mc_event_kinematics = [
371  'genMissingMass2OfEvent',
372  'genMissingEnergyOfEventCMS',
373  'genMissingMomentumOfEventCMS',
374  'genTotalPhotonsEnergyOfEvent',
375  'genVisibleEnergyOfEventCMS'
376 ]
377 
378 
379 belle_track_hit = [
380  "BelleFirstCDCHitX",
381  "BelleFirstCDCHitY",
382  "BelleFirstCDCHitZ",
383  "BelleLastCDCHitX",
384  "BelleLastCDCHitY",
385  "BelleLastCDCHitZ"
386 ]