diff --git a/PWGLF/DataModel/LFHStrangeCorrelationTables.h b/PWGLF/DataModel/LFHStrangeCorrelationTables.h index dfe516ce2fc..53cf20bc7eb 100644 --- a/PWGLF/DataModel/LFHStrangeCorrelationTables.h +++ b/PWGLF/DataModel/LFHStrangeCorrelationTables.h @@ -50,7 +50,7 @@ DECLARE_SOA_TABLE(AssocPions, "AOD", "ASSOCPIONS", o2::soa::Index<>, assocPions: namespace assocV0s { DECLARE_SOA_INDEX_COLUMN(Collision, collision); //! -DECLARE_SOA_INDEX_COLUMN(V0Data, v0Data); //! +DECLARE_SOA_INDEX_COLUMN(V0Core, v0Core); //! DECLARE_SOA_COLUMN(CompatibleK0Short, compatibleK0Short, bool); // compatible with K0Short DECLARE_SOA_COLUMN(CompatibleLambda, compatibleLambda, bool); // compatible with Lambda DECLARE_SOA_COLUMN(CompatibleAntiLambda, compatibleAntiLambda, bool); // compatible with AntiLambda @@ -102,7 +102,7 @@ DECLARE_SOA_DYNAMIC_COLUMN(MCTrue, mcTrue, }); } // namespace assocV0s DECLARE_SOA_TABLE(AssocV0s, "AOD", "ASSOCV0S", o2::soa::Index<>, - assocV0s::CollisionId, assocV0s::V0DataId, + assocV0s::CollisionId, assocV0s::V0CoreId, assocV0s::CompatibleK0Short, assocV0s::CompatibleLambda, assocV0s::CompatibleAntiLambda, diff --git a/PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx b/PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx index 3c7144d7579..31cda9eb912 100644 --- a/PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx +++ b/PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx @@ -156,7 +156,7 @@ struct correlateStrangeness { if (!mixing) histos.fill(HIST("sameEvent/TriggerParticlesV0"), trigg.pt(), mult); for (auto& assocCandidate : assocs) { - auto assoc = assocCandidate.v0Data(); + auto assoc = assocCandidate.v0Core_as(); //---] removing autocorrelations [--- auto postrack = assoc.posTrack_as(); @@ -665,7 +665,7 @@ struct correlateStrangeness { hEfficiencyV0[2] = hEfficiencyAntiLambda; for (auto const& v0 : associatedV0s) { - auto v0Data = v0.v0Data(); + auto v0Data = v0.v0Core_as(); static_for<0, 2>([&](auto i) { constexpr int index = i.value; if (v0.compatible(index) && (!doMCassociation || v0.mcTrue(index)) && bitcheck(doCorrelation, index)) {