From dda8392f2156c088d4dc36d1598278979127d2f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ku=C4=8Dera?= Date: Wed, 11 Dec 2024 10:00:21 +0100 Subject: [PATCH] Fix compilation warnings --- Common/Core/RecoDecay.h | 4 ++-- Common/TableProducer/match-mft-mch-data.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Common/Core/RecoDecay.h b/Common/Core/RecoDecay.h index 5cbb4bbae7e..94ff6f12664 100644 --- a/Common/Core/RecoDecay.h +++ b/Common/Core/RecoDecay.h @@ -1077,7 +1077,7 @@ struct RecoDecay { auto mother = particlesMC.rawIteratorAt(particleMother.mothersIds().front() - particlesMC.offset()); auto PDGParticleIMother = std::abs(mother.pdgCode()); // PDG code of the mother if (PDGParticleIMother < 9 || (PDGParticleIMother > 20 && PDGParticleIMother < 38)) { - auto PDGPaticle = std::abs(particleMother.pdgCode()); + // auto PDGPaticle = std::abs(particleMother.pdgCode()); if ( (PDGParticleIMother / 100 == 5 || // b mesons PDGParticleIMother / 1000 == 5) // b baryons @@ -1100,7 +1100,7 @@ struct RecoDecay { } auto mother = particlesMC.rawIteratorAt(iMother - particlesMC.offset()); // Check status code - auto motherStatusCode = std::abs(mother.getGenStatusCode()); + // auto motherStatusCode = std::abs(mother.getGenStatusCode()); auto PDGParticleIMother = std::abs(mother.pdgCode()); // PDG code of the mother // Check mother's PDG code. // printf("getMother: "); diff --git a/Common/TableProducer/match-mft-mch-data.cxx b/Common/TableProducer/match-mft-mch-data.cxx index d87504ccfef..c151c74ba4d 100644 --- a/Common/TableProducer/match-mft-mch-data.cxx +++ b/Common/TableProducer/match-mft-mch-data.cxx @@ -566,7 +566,7 @@ struct match_mft_mch_data { return true; } - void process(aod::Collisions const& collisions, ExtBCs const& ebcs, + void process(aod::Collisions const&, ExtBCs const& ebcs, MyMuons const& fwdtracks, MyMFTs const& mfttracks) { initCCDB(ebcs.begin());