Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions PWGLF/DataModel/LFHStrangeCorrelationTables.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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<V0DatasWithoutTrackX>();

//---] removing autocorrelations [---
auto postrack = assoc.posTrack_as<TracksComplete>();
Expand Down Expand Up @@ -665,7 +665,7 @@ struct correlateStrangeness {
hEfficiencyV0[2] = hEfficiencyAntiLambda;

for (auto const& v0 : associatedV0s) {
auto v0Data = v0.v0Data();
auto v0Data = v0.v0Core_as<V0DatasWithoutTrackX>();
static_for<0, 2>([&](auto i) {
constexpr int index = i.value;
if (v0.compatible(index) && (!doMCassociation || v0.mcTrue(index)) && bitcheck(doCorrelation, index)) {
Expand Down