From 89be1f92468e29da58844f951f6c89219edc67e2 Mon Sep 17 00:00:00 2001 From: kcui1 <129373281+kcui1@users.noreply.github.com> Date: Mon, 5 Feb 2024 02:35:30 +0800 Subject: [PATCH] V0data change (#4557) --- PWGLF/TableProducer/hStrangeCorrelationFilter.cxx | 5 +++-- PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx | 9 +++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/PWGLF/TableProducer/hStrangeCorrelationFilter.cxx b/PWGLF/TableProducer/hStrangeCorrelationFilter.cxx index 6fa9ff3819e..f38e22b6040 100644 --- a/PWGLF/TableProducer/hStrangeCorrelationFilter.cxx +++ b/PWGLF/TableProducer/hStrangeCorrelationFilter.cxx @@ -130,6 +130,7 @@ struct hstrangecorrelationfilter { using DauTracks = soa::Join; // using IDTracks= soa::Join; // prepared for Bayesian PID using IDTracks = soa::Join; + using V0DatasWithoutTrackX = soa::Join; Produces triggerTrack; Produces assocPion; @@ -269,7 +270,7 @@ struct hstrangecorrelationfilter { } } - void processV0s(soa::Join::iterator const& collision, DauTracks const&, soa::Filtered const& V0s, V0LinkedTagged const&) + void processV0s(soa::Join::iterator const& collision, DauTracks const&, soa::Filtered const& V0s, V0LinkedTagged const&) { // Perform basic event selection if (!collision.sel8()) { @@ -384,7 +385,7 @@ struct hstrangecorrelationfilter { } } } - void processCascades(soa::Join::iterator const& collision, DauTracks const&, soa::Filtered const& V0s, soa::Filtered const& Cascades, aod::V0sLinked const&, CascadesLinkedTagged const&) + void processCascades(soa::Join::iterator const& collision, DauTracks const&, soa::Filtered const& V0s, soa::Filtered const& Cascades, aod::V0sLinked const&, CascadesLinkedTagged const&) { // Perform basic event selection if (!collision.sel8()) { diff --git a/PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx b/PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx index fe224124e3e..3c7144d7579 100644 --- a/PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx +++ b/PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx @@ -43,6 +43,7 @@ using namespace o2::framework::expressions; #define bitcheck(var, nbit) ((var) & (1 << (nbit))) using TracksComplete = soa::Join; +using V0DatasWithoutTrackX = soa::Join; struct correlateStrangeness { // for efficiency corrections if requested @@ -638,7 +639,7 @@ struct correlateStrangeness { void processSameEventHV0s(soa::Join::iterator const& collision, aod::AssocV0s const& associatedV0s, aod::TriggerTracks const& triggerTracks, - aod::V0Datas const&, aod::V0sLinked const&, TracksComplete const&) + V0DatasWithoutTrackX const&, aod::V0sLinked const&, TracksComplete const&) { // ________________________________________________ // Perform basic event selection @@ -694,7 +695,7 @@ struct correlateStrangeness { void processSameEventHCascades(soa::Join::iterator const& collision, aod::AssocV0s const& associatedV0s, aod::AssocCascades const& associatedCascades, aod::TriggerTracks const& triggerTracks, - aod::V0Datas const&, aod::V0sLinked const&, aod::CascDatas const&, TracksComplete const&) + V0DatasWithoutTrackX const&, aod::V0sLinked const&, aod::CascDatas const&, TracksComplete const&) { // ________________________________________________ // Perform basic event selection @@ -783,7 +784,7 @@ struct correlateStrangeness { } void processMixedEventHV0s(soa::Join const& collisions, aod::AssocV0s const& associatedV0s, aod::TriggerTracks const& triggerTracks, - aod::V0Datas const&, aod::V0sLinked const&, TracksComplete const&) + V0DatasWithoutTrackX const&, aod::V0sLinked const&, TracksComplete const&) { for (auto& [collision1, collision2] : soa::selfCombinations(colBinning, mixingParameter, -1, collisions, collisions)) { // ________________________________________________ @@ -816,7 +817,7 @@ struct correlateStrangeness { } void processMixedEventHCascades(soa::Join const& collisions, aod::AssocV0s const& associatedV0s, aod::AssocCascades const& associatedCascades, aod::TriggerTracks const& triggerTracks, - aod::V0Datas const&, aod::V0sLinked const&, aod::CascDatas const&, TracksComplete const&) + V0DatasWithoutTrackX const&, aod::V0sLinked const&, aod::CascDatas const&, TracksComplete const&) { for (auto& [collision1, collision2] : soa::selfCombinations(colBinning, mixingParameter, -1, collisions, collisions)) { // ________________________________________________