File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
@@ -580,7 +584,8 @@ struct JetDsSpecSubs {
580584 registry.fill (HIST (" McEffCol" ), getValFromBin (BinMCColCntr::Matched));
581585
582586 // Apply standard event selection and vertex cut
583- if (!jetderiveddatautilities::selectCollision (collision, eventSelectionBits) || !(std::abs (collision.posZ ()) < vertexZCut)) {
587+ if (!jetderiveddatautilities::selectCollision (collision, eventSelectionBits) ||
588+ !(std::abs (collision.posZ ()) < vertexZCut)) {
584589 continue ;
585590 }
586591 // Matched collision passing analysis selections
@@ -646,10 +651,6 @@ struct JetDsSpecSubs {
646651 }
647652 }
648653 // Particle level
649-
650- if (!jetderiveddatautilities::selectCollision (mccollision, eventSelectionBits) || !(std::abs (mccollision.posZ ()) < vertexZCut)){
651- continue ;
652- }
653654 const auto dsmcpJetsPerMCCollision = mcpjets.sliceBy (jetmcppreslice, mccollision.globalIndex ());
654655 for (const auto & mcpjet : dsmcpJetsPerMCCollision) {
655656
You can’t perform that action at this time.
0 commit comments