Skip to content

Commit 07b8efa

Browse files
authored
PWGEM/Dilepton: update single lepton efficiency (#7083)
1 parent b264f7b commit 07b8efa

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

PWGEM/Dilepton/Core/SingleTrackQCMC.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,10 @@ struct SingleTrackQCMC {
553553
continue;
554554
}
555555

556+
if (mctrack.emmceventId() != collision.emmceventId()) {
557+
continue;
558+
}
559+
556560
if constexpr (pairtype == o2::aod::pwgem::dilepton::utils::pairutil::DileptonPairType::kDielectron) {
557561
if (dielectroncuts.cfg_pid_scheme == static_cast<int>(DielectronCut::PIDSchemes::kPIDML)) {
558562
if (!cut.template IsSelectedTrack<true>(track, collision)) {

0 commit comments

Comments
 (0)