diff --git a/PWGEM/Dilepton/TableProducer/createEMEventDilepton.cxx b/PWGEM/Dilepton/TableProducer/createEMEventDilepton.cxx index 193070c1fc9..7d6f5018521 100644 --- a/PWGEM/Dilepton/TableProducer/createEMEventDilepton.cxx +++ b/PWGEM/Dilepton/TableProducer/createEMEventDilepton.cxx @@ -89,6 +89,7 @@ struct CreateEMEventDilepton { // // CCDB options // Configurable ccdburl{"ccdb-url", "http://alice-ccdb.cern.ch", "url of the ccdb repository"}; + Configurable applyMBtoNormTable{"applyMBtoNormTable", false, "flag to apply MB to norm information"}; // this is to reduce derived data size. HistogramRegistry registry{"output", {}, OutputObjHandlingPolicy::AnalysisObject, false, false}; void init(o2::framework::InitContext&) @@ -133,6 +134,10 @@ struct CreateEMEventDilepton { // auto bc = collision.template foundBC_as(); auto bc = collision.template bc_as(); // use this for Zorro + if (applyMBtoNormTable && !collision.isSelected()) { // minimal cut for MB + continue; + } + if (collision.selection_bit(o2::aod::evsel::kIsTriggerTVX)) { int8_t posZint8 = static_cast(collision.posZ() * 2.f); if (posZint8 == 0) {