diff --git a/PWGEM/Dilepton/TableProducer/createEMEventDilepton.cxx b/PWGEM/Dilepton/TableProducer/createEMEventDilepton.cxx index 7d6f5018521..f3a3453e507 100644 --- a/PWGEM/Dilepton/TableProducer/createEMEventDilepton.cxx +++ b/PWGEM/Dilepton/TableProducer/createEMEventDilepton.cxx @@ -138,6 +138,12 @@ struct CreateEMEventDilepton { continue; } + if constexpr (eventtype == EMEventType::kEvent_Cent_ZDC) { + if (!collision.triggereventsp()) { + continue; + } + } + if (collision.selection_bit(o2::aod::evsel::kIsTriggerTVX)) { int8_t posZint8 = static_cast(collision.posZ() * 2.f); if (posZint8 == 0) {