Belle II Software  light-2212-foldex
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 ]
68 
69 
70 cluster_average = [
71  'maxWeightedDistanceFromAverageECLTime',
72  'weightedAverageECLTime'
73 ]
74 
75 
76 klm_cluster = [
77  'klmClusterKlId',
78  'klmClusterTiming',
79  'klmClusterPositionX',
80  'klmClusterPositionY',
81  'klmClusterPositionZ',
82  'klmClusterInnermostLayer',
83  'klmClusterLayers',
84  'klmClusterEnergy',
85  'klmClusterMomentum',
86  'klmClusterIsBKLM',
87  'klmClusterIsEKLM',
88  'klmClusterIsForwardEKLM',
89  'klmClusterIsBackwardEKLM',
90  'klmClusterTheta',
91  'klmClusterPhi',
92  'nKLMClusterTrackMatches',
93  'nMatchedKLMClusters',
94 ]
95 
96 
97 dalitz_3body = [
98  'daughterInvM(0, 1)', # invariant mass of daughters 1 and 2
99  'daughterInvM(0, 2)', # invariant mass of daughters 1 and 3
100  'daughterInvM(1, 2)', # invariant mass of daughters 2 and 3
101 ]
102 
103 
104 track = ['dr', 'dx', 'dy', 'dz', 'd0', 'z0', 'pValue', 'ndf']
105 
106 
107 track_hits = ['nCDCHits', 'nPXDHits', 'nSVDHits', 'nVXDHits']
108 
109 
110 mc_truth = ['isSignal', 'mcErrors', 'mcPDG']
111 
112 
113 
114 mc_kinematics = ['mcE', 'mcP', 'mcPT', 'mcPX', 'mcPY', 'mcPZ', 'mcPhi']
115 
116 
117 mc_variables = [
118  'genMotherID',
119  'genMotherP',
120  'genMotherPDG',
121  'genParticleID',
122  'isCloneTrack',
123  'mcDecayVertexX',
124  'mcDecayVertexY',
125  'mcDecayVertexZ',
126  'mcDecayTime',
127  'mcE',
128  'mcErrors',
129  'mcInitial',
130  'mcP',
131  'mcPDG',
132  'mcPT',
133  'mcPX',
134  'mcPY',
135  'mcPZ',
136  'mcPhi',
137  'mcVirtual',
138  'nMCMatches',
139 ]
140 
141 
142 pid = [
143  'electronID',
144  'muonID',
145  'pionID',
146  'kaonID',
147  'protonID',
148  'deuteronID',
149  'binaryPID(11, 211)',
150  'binaryPID(13, 211)',
151  'binaryPID(211, 321)',
152  'binaryPID(321, 2212)',
153  'binaryPID(211, 2212)',
154 ]
155 
156 
157 roe_multiplicities = [
158  'nROE_Charged()',
159  'nROE_Photons()',
160  'nROE_NeutralHadrons()'
161 ]
162 
163 
164 roe_kinematics = [
165  'roeE()',
166  'roeM()',
167  'roeP()',
168  'roeMbc()',
169  'roeDeltae()'
170 ]
171 
172 
173 recoil_kinematics = [
174  'pRecoil',
175  'eRecoil',
176  'mRecoil',
177  'pRecoilPhi',
178  'pRecoilTheta',
179  'pxRecoil',
180  'pyRecoil',
181  'pzRecoil',
182 ]
183 
184 
185 flight_info = [
186  'flightTime',
187  'flightDistance',
188  'flightTimeErr',
189  'flightDistanceErr',
190 ]
191 
192 
193 mc_flight_info = ['mcFlightTime', 'mcFlightDistance']
194 
195 
196 vertex = [
197  'distance',
198  'significanceOfDistance',
199  'dx',
200  'dy',
201  'dz',
202  'x',
203  'y',
204  'z',
205  'x_uncertainty',
206  'y_uncertainty',
207  'z_uncertainty',
208  'dr',
209  'dphi',
210  'dcosTheta',
211  'prodVertexX',
212  'prodVertexY',
213  'prodVertexZ',
214  'prodVertexXErr',
215  'prodVertexYErr',
216  'prodVertexZErr',
217  'chiProb',
218 ]
219 
220 
221 mc_vertex = [
222  'mcDecayVertexX',
223  'mcDecayVertexY',
224  'mcDecayVertexZ',
225  'mcDecayVertexFromIPDistance',
226  'mcDecayVertexRho',
227  'mcProductionVertexX',
228  'mcProductionVertexY',
229  'mcProductionVertexZ'
230 ]
231 
232 
233 tag_vertex = [
234  'DeltaT',
235  'DeltaTErr',
236  'DeltaZ',
237  'DeltaZErr',
238  'DeltaBoost',
239  'DeltaBoostErr',
240  'TagVLBoost',
241  'TagVLBoostErr',
242  'TagVOBoost',
243  'TagVOBoostErr',
244  'TagVpVal',
245  'TagVNDF',
246  'TagVChi2',
247  'TagVChi2IP',
248  'TagVx',
249  'TagVxErr',
250  'TagVy',
251  'TagVyErr',
252  'TagVz',
253  'TagVzErr',
254 ]
255 
256 
257 mc_tag_vertex = [
258  'mcDeltaTau',
259  'mcDeltaT',
260  'mcDeltaBoost',
261  'mcTagVLBoost',
262  'mcTagVOBoost',
263  'mcLBoost',
264  'mcOBoost',
265  'mcTagVx',
266  'mcTagVy',
267  'mcTagVz',
268 ]
269 
270 
271 momentum_uncertainty = [
272  'E_uncertainty',
273  'pxErr',
274  'pyErr',
275  'pzErr',
276 ]
277 
278 
279 reco_stats = [
280  'nTracks',
281 ]
282 
283 
284 inv_mass = ['M', 'ErrM', 'SigM', 'InvM']
285 
286 
287 extra_energy = ["roeEextra()"]
288 
289 
290 event_level_tracking = [
291  "nExtraCDCHits",
292  "nExtraCDCHitsPostCleaning",
293  "hasExtraCDCHitsInLayer(0)",
294  "hasExtraCDCHitsInLayer(1)",
295  "hasExtraCDCHitsInLayer(2)",
296  "hasExtraCDCHitsInLayer(3)",
297  "hasExtraCDCHitsInLayer(4)",
298  "hasExtraCDCHitsInLayer(5)",
299  "hasExtraCDCHitsInLayer(6)",
300  "hasExtraCDCHitsInLayer(7)",
301  "nExtraCDCSegments",
302  "trackFindingFailureFlag",
303 ]
304 
305 
306 event_shape = [
307  "foxWolframR1",
308  "foxWolframR2",
309  "foxWolframR3",
310  "foxWolframR4",
311  "harmonicMomentThrust0",
312  "harmonicMomentThrust1",
313  "harmonicMomentThrust2",
314  "harmonicMomentThrust3",
315  "harmonicMomentThrust4",
316  "cleoConeThrust0",
317  "cleoConeThrust1",
318  "cleoConeThrust2",
319  "cleoConeThrust3",
320  "cleoConeThrust4",
321  "cleoConeThrust5",
322  "cleoConeThrust6",
323  "cleoConeThrust7",
324  "cleoConeThrust8",
325  "sphericity",
326  "aplanarity",
327  "thrust",
328  "thrustAxisCosTheta",
329 ]
330 
331 
332 event_kinematics = [
333  "missingMomentumOfEvent",
334  "missingMomentumOfEvent_Px",
335  "missingMomentumOfEvent_Py",
336  "missingMomentumOfEvent_Pz",
337  "missingMomentumOfEvent_theta",
338  "missingMomentumOfEventCMS",
339  "missingMomentumOfEventCMS_Px",
340  "missingMomentumOfEventCMS_Py",
341  "missingMomentumOfEventCMS_Pz",
342  "missingMomentumOfEventCMS_theta",
343  "missingEnergyOfEventCMS",
344  "missingMass2OfEvent",
345  "visibleEnergyOfEventCMS",
346  "totalPhotonsEnergyOfEvent"
347 ]
348 
349 
350 mc_event_kinematics = [
351  'genMissingMass2OfEvent',
352  'genMissingEnergyOfEventCMS',
353  'genMissingMomentumOfEventCMS',
354  'genTotalPhotonsEnergyOfEvent',
355  'genVisibleEnergyOfEventCMS'
356 ]
357 
358 
359 belle_track_hit = [
360  "BelleFirstCDCHitX",
361  "BelleFirstCDCHitY",
362  "BelleFirstCDCHitZ",
363  "BelleLastCDCHitX",
364  "BelleLastCDCHitY",
365  "BelleLastCDCHitZ"
366 ]