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
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)
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
}
292
292
if (!checkCentrality || ((centralityMin < collisions.begin().centrality()) && (collisions.begin().centrality() < centralityMax))) { // effect unclear if mcColl is split
293
293
centralityCheck = true;
294
294
}
295
-
} elseif (acceptSplitCollisions == splitOkCheckAnyAssocColl) { // check that at least one of the reconstructed collisions passes the checks
295
+
} elseif (acceptSplitCollisions == SplitOkCheckAnyAssocColl) { // check that at least one of the reconstructed collisions passes the checks
296
296
for (autoconst& collision : collisions) {
297
297
if (jetderiveddatautilities::selectCollision(collision, eventSelectionBits, skipMBGapEvents)) { // Skipping MC events that have not a single selected reconstructed collision ; effect unclear if mcColl is split
298
298
hasSel8Coll = true;
@@ -347,7 +347,7 @@ struct TrackEfficiency {
347
347
int splitCollCounter = 0;
348
348
for (autoconst& collision : collisions) {
349
349
splitCollCounter++;
350
-
if (acceptSplitCollisions == splitOkCheckFirstAssocCollOnly && splitCollCounter > 1) {
350
+
if (acceptSplitCollisions == SplitOkCheckFirstAssocCollOnly && splitCollCounter > 1) {
351
351
return;
352
352
}
353
353
@@ -444,21 +444,21 @@ struct TrackEfficiency {
444
444
}
445
445
registry.fill(HIST("hMcCollCutsCounts"), 2.5); // mcCollisions with at least one reconstructed collision
446
446
447
-
if (acceptSplitCollisions == nonSplitOnly && collisions.size() > 1) {
447
+
if (acceptSplitCollisions == NonSplitOnly && collisions.size() > 1) {
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)
454
+
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
455
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
456
hasSel8Coll = true;
457
457
}
458
458
if (!checkCentrality || ((centralityMin < collisions.begin().centrality()) && (collisions.begin().centrality() < centralityMax))) { // effect unclear if mcColl is split
459
459
centralityCheck = true;
460
460
}
461
-
} elseif (acceptSplitCollisions == splitOkCheckAnyAssocColl) { // check that at least one of the reconstructed collisions passes the checks
461
+
} elseif (acceptSplitCollisions == SplitOkCheckAnyAssocColl) { // check that at least one of the reconstructed collisions passes the checks
462
462
for (autoconst& collision : collisions) {
463
463
if (jetderiveddatautilities::selectCollision(collision, eventSelectionBits, skipMBGapEvents)) { // Skipping MC events that have not a single selected reconstructed collision ; effect unclear if mcColl is split
464
464
hasSel8Coll = true;
@@ -514,7 +514,7 @@ struct TrackEfficiency {
514
514
int splitCollCounter = 0;
515
515
for (autoconst& collision : collisions) {
516
516
splitCollCounter++;
517
-
if (acceptSplitCollisions == splitOkCheckFirstAssocCollOnly && splitCollCounter > 1) {
517
+
if (acceptSplitCollisions == SplitOkCheckFirstAssocCollOnly && splitCollCounter > 1) {
518
518
return;
519
519
}
520
520
@@ -686,7 +686,7 @@ struct TrackEfficiency {
686
686
if (collisions.size() < 1) {
687
687
return;
688
688
}
689
-
if (acceptSplitCollisions == nonSplitOnly && collisions.size() > 1) {
689
+
if (acceptSplitCollisions == NonSplitOnly && collisions.size() > 1) {
690
690
return;
691
691
}
692
692
@@ -699,14 +699,14 @@ struct TrackEfficiency {
699
699
700
700
bool hasSel8Coll = false;
701
701
bool centralityCheck = false;
702
-
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)
702
+
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
703
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
704
hasSel8Coll = true;
705
705
}
706
706
if (!checkCentrality || ((centralityMin < collisions.begin().centrality()) && (collisions.begin().centrality() < centralityMax))) { // effect unclear if mcColl is split
707
707
centralityCheck = true;
708
708
}
709
-
} elseif (acceptSplitCollisions == splitOkCheckAnyAssocColl) { // check that at least one of the reconstructed collisions passes the checks
709
+
} elseif (acceptSplitCollisions == SplitOkCheckAnyAssocColl) { // check that at least one of the reconstructed collisions passes the checks
710
710
for (autoconst& collision : collisions) {
711
711
if (jetderiveddatautilities::selectCollision(collision, eventSelectionBits, skipMBGapEvents)) { // Skipping MC events that have not a single selected reconstructed collision ; effect unclear if mcColl is split
712
712
hasSel8Coll = true;
@@ -747,7 +747,7 @@ struct TrackEfficiency {
747
747
if (collisions.size() < 1) {
748
748
return;
749
749
}
750
-
if (acceptSplitCollisions == nonSplitOnly && collisions.size() > 1) {
750
+
if (acceptSplitCollisions == NonSplitOnly && collisions.size() > 1) {
751
751
return;
752
752
}
753
753
@@ -760,14 +760,14 @@ struct TrackEfficiency {
760
760
761
761
bool hasSel8Coll = false;
762
762
bool centralityCheck = false;
763
-
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)
763
+
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
764
if (jetderiveddatautilities::selectCollision(collisions.begin(), eventSelectionBits, skipMBGapEvents)) { // Skipping MC events that have not a single selected reconstructed collision ; effect unclear if mcColl is split
765
765
hasSel8Coll = true;
766
766
}
767
767
if (!checkCentrality || ((centralityMin < collisions.begin().centrality()) && (collisions.begin().centrality() < centralityMax))) { // effect unclear if mcColl is split
768
768
centralityCheck = true;
769
769
}
770
-
} elseif (acceptSplitCollisions == splitOkCheckAnyAssocColl) { // check that at least one of the reconstructed collisions passes the checks
770
+
} elseif (acceptSplitCollisions == SplitOkCheckAnyAssocColl) { // check that at least one of the reconstructed collisions passes the checks
771
771
for (autoconst& collision : collisions) {
772
772
if (jetderiveddatautilities::selectCollision(collision, eventSelectionBits, skipMBGapEvents)) { // Skipping MC events that have not a single selected reconstructed collision ; effect unclear if mcColl is split
0 commit comments