Skip to content

Commit c928428

Browse files
authored
[PWGJE] Update detector-level collision selection (#17468)
1 parent 3d3cb5d commit c928428

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

PWGJE/Tasks/jetDsSpecSubs.cxx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,11 @@ struct JetDsSpecSubs {
565565
// Count all generated MC collisions
566566
registry.fill(HIST("McEffCol"), getValFromBin(BinMCColCntr::All));
567567

568-
// Apply MC vertex selection
568+
// Apply standard event selection and vertex cut
569+
if (!jetderiveddatautilities::selectCollision(mccollision, eventSelectionBits)) {
570+
continue;
571+
}
572+
569573
if (std::abs(mccollision.posZ()) > vertexZCut) {
570574
continue;
571575
}

0 commit comments

Comments
 (0)