You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PWGJE/Tasks/trackEfficiency.cxx
+5-6Lines changed: 5 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -285,7 +285,7 @@ struct TrackEfficiency {
285
285
286
286
bool hasSel8Coll = false;
287
287
bool centralityCheck = false;
288
-
if (acceptSplitCollisions == splitOkCheckFirstAssocCollOnly) { // check only that the first reconstructed collision passes the check
288
+
if (acceptSplitCollisions == splitOkCheckFirstAssocCollOnly || acceptSplitCollisions == nonSplitOnly) {// check only that the first reconstructed collision passes the check (for the nonSplitOnly case, there's only one associated collision)
289
289
if (jetderiveddatautilities::selectCollision(collisions.begin(), eventSelectionBits, skipMBGapEvents)) { // Skipping MC events that have not a single selected reconstructed collision ; effect unclear if mcColl is split
290
290
hasSel8Coll = true;
291
291
}
@@ -301,7 +301,6 @@ struct TrackEfficiency {
301
301
centralityCheck = true;
302
302
}
303
303
}
304
-
}
305
304
if (!hasSel8Coll) {
306
305
return;
307
306
}
@@ -418,7 +417,7 @@ struct TrackEfficiency {
418
417
}
419
418
}
420
419
}
421
-
}
420
+
}
422
421
PROCESS_SWITCH(TrackEfficiency, processEFficiencyPurity, "Histograms for efficiency and purity quantities", true);
if (acceptSplitCollisions == splitOkCheckFirstAssocCollOnly) { // check only that the first reconstructed collision passes the check
453
+
if (acceptSplitCollisions == splitOkCheckFirstAssocCollOnly || acceptSplitCollisions == nonSplitOnly) {// check only that the first reconstructed collision passes the check (for the nonSplitOnly case, there's only one associated collision)
455
454
if (jetderiveddatautilities::selectCollision(collisions.begin(), eventSelectionBits, skipMBGapEvents)) { // Skipping MC events that have not a single selected reconstructed collision ; effect unclear if mcColl is split
456
455
hasSel8Coll = true;
457
456
}
@@ -699,7 +698,7 @@ struct TrackEfficiency {
699
698
700
699
bool hasSel8Coll = false;
701
700
bool centralityCheck = false;
702
-
if (acceptSplitCollisions == splitOkCheckFirstAssocCollOnly) { // check only that the first reconstructed collision passes the check
701
+
if (acceptSplitCollisions == splitOkCheckFirstAssocCollOnly || acceptSplitCollisions == nonSplitOnly) {// check only that the first reconstructed collision passes the check (for the nonSplitOnly case, there's only one associated collision)
703
702
if (jetderiveddatautilities::selectCollision(collisions.begin(), eventSelectionBits, skipMBGapEvents)) { // Skipping MC events that have not a single selected reconstructed collision ; effect unclear if mcColl is split
704
703
hasSel8Coll = true;
705
704
}
@@ -760,7 +759,7 @@ struct TrackEfficiency {
760
759
761
760
bool hasSel8Coll = false;
762
761
bool centralityCheck = false;
763
-
if (acceptSplitCollisions == splitOkCheckFirstAssocCollOnly) { // check only that the first reconstructed collision passes the check
762
+
if (acceptSplitCollisions == splitOkCheckFirstAssocCollOnly || acceptSplitCollisions == nonSplitOnly) {// check only that the first reconstructed collision passes the check (for the nonSplitOnly case, there's only one associated collision)
764
763
if (jetderiveddatautilities::selectCollision(collisions.begin(), eventSelectionBits, skipMBGapEvents)) { // Skipping MC events that have not a single selected reconstructed collision ; effect unclear if mcColl is split
0 commit comments