We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd6d679 commit 021dc61Copy full SHA for 021dc61
PWGLF/Tasks/nuclei_in_jets.cxx
@@ -262,9 +262,15 @@ struct nuclei_in_jets {
262
bool containsParticleOfInterest(false);
263
float pt_max(0);
264
265
+ // Track Index Initialization
266
+ int i = -1;
267
+
268
// Loop over Reconstructed Tracks
269
for (auto track : tracks) {
270
271
+ // Track Index
272
+ i++;
273
274
// Track Selection for Jet
275
if (!passedMinimalTrackSelection(track))
276
continue;
@@ -274,7 +280,7 @@ struct nuclei_in_jets {
280
281
282
// Track Index
277
- int i = track.globalIndex();
283
+ // int i = track.globalIndex();
278
284
279
285
// Trigger: Particle of Interest
286
if (isParticleOfInterest(track))
0 commit comments