diff --git a/PWGDQ/Tasks/dqEfficiency_withAssoc.cxx b/PWGDQ/Tasks/dqEfficiency_withAssoc.cxx index bb2ad03c177..d5ebb5d8bcf 100644 --- a/PWGDQ/Tasks/dqEfficiency_withAssoc.cxx +++ b/PWGDQ/Tasks/dqEfficiency_withAssoc.cxx @@ -265,6 +265,7 @@ using MyEventsVtxCovGlobalMult = o2::soa::Join; using MyEventsVtxCovGlobalMultSelected = o2::soa::Join; using MyEventsVtxCovSelectedInfo = soa::Join; +using MyEventsVtxCovMultExtra = soa::Join; using MyEventsVtxCovSelectedMultExtra = soa::Join; using MyEventsVtxCovSelectedQvector = soa::Join; using MyEventsQvector = soa::Join; @@ -616,6 +617,14 @@ struct AnalysisEventSelection { runEventSelection(events, mcEvents); publishSelections(events); } + // Event selection with vertex covariance and the extra multiplicity/occupancy tables (ReducedEventsMultPV, ReducedEventsMultAll), + // needed for cuts or histograms on e.g. kNTPCcontribLongC, kFT0COccupancyInTimeRange or kTrackOccupancyInTimeRange. + // Uses the same event tables as the pairing processes with MultExtra. + void processSkimmedWithMultExtra(MyEventsVtxCovMultExtra const& events, aod::ReducedMCEvents const& mcEvents) + { + runEventSelection(events, mcEvents); + publishSelections(events); + } void processFillEvents(MyEvents const& events) // Used to forward the event table from tablemaker, typical use for now is jet analysis. { for (auto const& event : events) { @@ -636,6 +645,7 @@ struct AnalysisEventSelection { PROCESS_SWITCH(AnalysisEventSelection, processSkimmed, "Run event selection on DQ skimmed events", false); PROCESS_SWITCH(AnalysisEventSelection, processSkimmedWithGlobalMults, "Run event selection with global track multiplicity estimation", false); + PROCESS_SWITCH(AnalysisEventSelection, processSkimmedWithMultExtra, "Run event selection on DQ skimmed events, with vertex covariance and mult/occupancy event tables", false); PROCESS_SWITCH(AnalysisEventSelection, processFillEvents, "Fill storedReducedEvents table for use in JE framework", false); PROCESS_SWITCH(AnalysisEventSelection, processDummy, "Dummy function", true); };