Skip to content

Commit eaed506

Browse files
committed
[PWGJE] Update detector-level event selection
1 parent 57e9d55 commit eaed506

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

PWGJE/Tasks/jetDsSpecSubs.cxx

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -580,13 +580,19 @@ struct JetDsSpecSubs {
580580
registry.fill(HIST("McEffCol"), getValFromBin(BinMCColCntr::Matched));
581581

582582
// Apply standard event selection and vertex cut
583-
if (!jetderiveddatautilities::selectCollision(collision, eventSelectionBits) ||
584-
!(std::abs(collision.posZ()) < vertexZCut)) {
585-
continue;
586-
}
583+
//if (!jetderiveddatautilities::selectCollision(collision, eventSelectionBits) ||
584+
// !(std::abs(collision.posZ()) < vertexZCut)) {
585+
// continue;
586+
//}
587587
// Matched collision passing analysis selections
588-
registry.fill(HIST("McEffCol"), getValFromBin(BinMCColCntr::MatchedSel8ZCut));
588+
//registry.fill(HIST("McEffCol"), getValFromBin(BinMCColCntr::MatchedSel8ZCut));
589+
590+
if (jetderiveddatautilities::selectCollision(collision, eventSelectionBits) &&
591+
std::abs(collision.posZ()) < vertexZCut) {
592+
registry.fill(HIST("McEffCol"), getValFromBin(BinMCColCntr::MatchedSel8ZCut));
593+
}
589594

595+
590596
// Detector-level Ds-tagged jets associated with the current reconstructed collision
591597
const auto dsmcdJetsPerCollision = mcdjets.sliceBy(jetmcdpreslice, collision.globalIndex());
592598
for (const auto& mcdjet : dsmcdJetsPerCollision) {

0 commit comments

Comments
 (0)