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
soa::SmallGroups<aod::JetCollisionsMCD> const& collisions, // smallgroups gives only the collisions associated to the current mccollision, thanks to the mccollisionlabel pre-integrated in jetcollisionsmcd
if (acceptSplitCollisions == 2) { // check only that the first reconstructed collision passes the check
434
+
if (jetderiveddatautilities::selectCollision(collisions.begin(), eventSelectionBits, skipMBGapEvents)) { // Skipping MC events that have not a single selected reconstructed collision ; effect unclear if mcColl is split
435
+
hasSel8Coll = true;
436
+
}
437
+
if (!checkCentrality || ((centralityMin < collisions.begin().centrality()) && (collisions.begin().centrality() < centralityMax))) { // effect unclear if mcColl is split
438
+
centralityCheck = true;
439
+
}
440
+
} else { // check that at least one of the reconstructed collisions passes the checks
441
+
for (auto& collision : collisions) {
442
+
if (jetderiveddatautilities::selectCollision(collision, eventSelectionBits, skipMBGapEvents)) { // Skipping MC events that have not a single selected reconstructed collision ; effect unclear if mcColl is split
443
+
hasSel8Coll = true;
444
+
}
445
+
if (!checkCentrality || ((centralityMin < collision.centrality()) && (collision.centrality() < centralityMax))) { // effect unclear if mcColl is split
446
+
centralityCheck = true;
447
+
}
448
+
}
449
+
}
450
+
if (!hasSel8Coll) {
451
+
return;
452
+
}
453
+
registry.fill(HIST("hMcCollCutsCounts"), 4.5); // at least one of the reconstructed collisions associated with this mcCollision is selected
454
+
455
+
if (!centralityCheck) {
456
+
return;
457
+
}
458
+
registry.fill(HIST("hMcCollCutsCounts"), 5.5); // at least one of the reconstructed collisions associated with this mcCollision is selected with regard to centrality
if ((abs(jMcParticle.eta()) < trackEtaAcceptanceCountQA)) { // removed from actual cuts for now because all the histograms have an eta axis
482
+
registry.fill(HIST("hMcPartCutsCounts"), 3.5); // etaAccept // not actually applied here but it will give an idea of what will be done in the post processing
483
+
}
484
+
}
485
+
486
+
std::vector<int> seenMcParticlesVector; // is reset every mc collision
487
+
488
+
int splitCollCounter = 0;
489
+
for (auto& collision : collisions) {
490
+
splitCollCounter++;
491
+
if (acceptSplitCollisions == 2 && splitCollCounter > 1) {
492
+
return;
493
+
}
494
+
495
+
if (!jetderiveddatautilities::selectCollision(collision, eventSelectionBits, skipMBGapEvents) || !(abs(collision.posZ()) < vertexZCut)) {
496
+
continue;
497
+
}
498
+
499
+
auto collTracks = jetTracks.sliceBy(tracksPerJCollision, collision.globalIndex());
500
+
for (auto& track : collTracks) {
501
+
registry.fill(HIST("hTrackCutsCounts"), 0.5);
502
+
503
+
if (!(jetderiveddatautilities::selectTrack(track, trackSelection) && jetderiveddatautilities::selectTrackDcaZ(track, trackDcaZmax))) { // if track selection is uniformTrack, dcaZ cuts need to be added as they aren't in the selection so that they can be studied here
if (abs(jMcParticleFromTrack.eta()) < trackEtaAcceptanceCountQA) { // not actually applied here but it will give an idea of what will be done in the post processing
558
+
registry.fill(HIST("hTrackCutsCounts"), 4.5);
559
+
}
560
+
}
561
+
}
562
+
}
563
+
PROCESS_SWITCH(TrackEfficiencyJets, processEFficiencyPurityWeighted, "Histograms for efficiency and purity quantities for weighted simulations", false);
0 commit comments