@@ -238,7 +238,8 @@ using MyEventsVtxCovZdcFitSelected = soa::Join<aod::ReducedEvents, aod::ReducedE
238238using MyEventsVtxCovZdcFitSelectedMultExtra = soa::Join<aod::ReducedEvents, aod::ReducedEventsExtended, aod::ReducedEventsVtxCov, aod::ReducedZdcs, aod::ReducedFITs, aod::EventCuts, aod::ReducedEventsMultPV, aod::ReducedEventsMultAll>;
239239using MyEventsQvector = soa::Join<aod::ReducedEvents, aod::ReducedEventsExtended, aod::ReducedEventsQvector>;
240240using MyEventsHashSelectedQvector = soa::Join<aod::ReducedEvents, aod::ReducedEventsExtended, aod::EventCuts, aod::MixingHashes, aod::ReducedEventsQvector>;
241- using MyEventsQvectorCentr = soa::Join<aod::ReducedEvents, aod::ReducedEventsExtended, aod::ReducedEventsQvectorCentr, aod::ReducedEventsQvectorCentrExtra, aod::ReducedEventsMultPV, aod::ReducedEventsMultAll, aod::ReducedEventsMergingTable>;
241+ using MyEventsQvectorCentr = soa::Join<aod::ReducedEvents, aod::ReducedEventsExtended, aod::ReducedEventsQvectorCentr, aod::ReducedEventsQvectorCentrExtra, aod::ReducedEventsMultPV, aod::ReducedEventsMultAll>;
242+ using MyEventsQvectorCentrMerge = soa::Join<aod::ReducedEvents, aod::ReducedEventsExtended, aod::ReducedEventsQvectorCentr, aod::ReducedEventsQvectorCentrExtra, aod::ReducedEventsMultPV, aod::ReducedEventsMultAll, aod::ReducedEventsMergingTable>;
242243using MyEventsQvectorCentrSelected = soa::Join<aod::ReducedEvents, aod::ReducedEventsExtended, aod::ReducedEventsQvectorCentr, aod::ReducedEventsQvectorCentrExtra, aod::ReducedEventsMultPV, aod::ReducedEventsMultAll, aod::EventCuts>;
243244using MyEventsHashSelectedQvectorCentr = soa::Join<aod::ReducedEvents, aod::ReducedEventsExtended, aod::EventCuts, aod::MixingHashes, aod::ReducedEventsQvectorCentr, aod::ReducedEventsQvectorCentrExtra, aod::ReducedEventsMultPV, aod::ReducedEventsMultAll>;
244245
@@ -349,7 +350,7 @@ struct AnalysisEventSelection {
349350 void init (o2::framework::InitContext& context)
350351 {
351352
352- bool isAnyProcessEnabled = context.mOptions .get <bool >(" processSkimmed" ) || context.mOptions .get <bool >(" processSkimmedBasic" ) || context.mOptions .get <bool >(" processSkimmedWithZdc" ) || context.mOptions .get <bool >(" processSkimmedWithMultExtra" ) || context.mOptions .get <bool >(" processSkimmedWithMultExtraNoQvector" ) || context.mOptions .get <bool >(" processSkimmedWithMultExtraZdc" ) || context.mOptions .get <bool >(" processSkimmedWithMultExtraZdcFit" ) || context.mOptions .get <bool >(" processSkimmedWithQvectorCentr" );
353+ bool isAnyProcessEnabled = context.mOptions .get <bool >(" processSkimmed" ) || context.mOptions .get <bool >(" processSkimmedBasic" ) || context.mOptions .get <bool >(" processSkimmedWithZdc" ) || context.mOptions .get <bool >(" processSkimmedWithMultExtra" ) || context.mOptions .get <bool >(" processSkimmedWithMultExtraNoQvector" ) || context.mOptions .get <bool >(" processSkimmedWithMultExtraZdc" ) || context.mOptions .get <bool >(" processSkimmedWithMultExtraZdcFit" ) || context.mOptions .get <bool >(" processSkimmedWithQvectorCentr" ) || context. mOptions . get < bool >( " processSkimmedWithQvectorCentrMerge " ) ;
353354 bool isDummyEnabled = context.mOptions .get <bool >(" processDummy" );
354355
355356 if (isDummyEnabled) {
@@ -615,6 +616,11 @@ struct AnalysisEventSelection {
615616 runEventSelection<gkEventFillMapWithQvectorCentr>(events);
616617 publishSelections<gkEventFillMapWithQvectorCentr>(events);
617618 }
619+ void processSkimmedWithQvectorCentrMerge (MyEventsQvectorCentrMerge const & events)
620+ {
621+ runEventSelection<gkEventFillMapWithQvectorCentr>(events);
622+ publishSelections<gkEventFillMapWithQvectorCentr>(events);
623+ }
618624 void processFillEvents (MyEventsBasic const & events) // Used to forward the event table from tablemaker, typical use for now is jet analysis.
619625 {
620626 for (auto const & event : events) {
@@ -641,6 +647,7 @@ struct AnalysisEventSelection {
641647 PROCESS_SWITCH (AnalysisEventSelection, processSkimmedWithMultExtraZdc, " Run event selection on DQ skimmed events, with mult extra and ZDC" , false );
642648 PROCESS_SWITCH (AnalysisEventSelection, processSkimmedWithMultExtraZdcFit, " Run event selection on DQ skimmed events, with mult extra, ZDC and FIT" , false );
643649 PROCESS_SWITCH (AnalysisEventSelection, processSkimmedWithQvectorCentr, " Run event selection on DQ skimmed events, with Q-vector" , false );
650+ PROCESS_SWITCH (AnalysisEventSelection, processSkimmedWithQvectorCentrMerge, " Run event selection on DQ skimmed events, with Q-vector and ReducedEventsMergingTable" , false );
644651 PROCESS_SWITCH (AnalysisEventSelection, processFillEvents, " Fill storedReducedEvents table for use in JE framework" , false );
645652 PROCESS_SWITCH (AnalysisEventSelection, processDummy, " Dummy function" , true );
646653};
0 commit comments