From 069067f36ec4d77c76f5b377a6aa6a78b3603c1e Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Thu, 24 Sep 2026 06:34:31 +0000 Subject: [PATCH] Please consider the following formatting changes --- .../DataModel/LFHResonanceCorrelationTables.h | 2 +- .../hResonanceCorrelationFilter.cxx | 6 ++--- .../Resonances/hResonanceCorrelation.cxx | 22 +++++++++---------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/PWGLF/DataModel/LFHResonanceCorrelationTables.h b/PWGLF/DataModel/LFHResonanceCorrelationTables.h index 77365da3b86..2bc281daaf6 100644 --- a/PWGLF/DataModel/LFHResonanceCorrelationTables.h +++ b/PWGLF/DataModel/LFHResonanceCorrelationTables.h @@ -148,4 +148,4 @@ DECLARE_SOA_TABLE( assocKstars::PosTrackDaughterId, assocKstars::NegTrackDaughterId); } // namespace o2::aod -#endif // PWGLF_DATAMODEL_LFHRESONANCECORRELATIONTABLES_H_ \ No newline at end of file +#endif // PWGLF_DATAMODEL_LFHRESONANCECORRELATIONTABLES_H_ diff --git a/PWGLF/TableProducer/Resonances/hResonanceCorrelationFilter.cxx b/PWGLF/TableProducer/Resonances/hResonanceCorrelationFilter.cxx index 446aa652a29..c65310540c9 100644 --- a/PWGLF/TableProducer/Resonances/hResonanceCorrelationFilter.cxx +++ b/PWGLF/TableProducer/Resonances/hResonanceCorrelationFilter.cxx @@ -1256,9 +1256,9 @@ struct HResonanceCorrelationFilter { } LorentzVectorPtEtaPhiMass kaon = LorentzVectorPtEtaPhiMass(kaonTrack.pt(), kaonTrack.eta(), kaonTrack.phi(), - o2::constants::physics::MassKPlus); + o2::constants::physics::MassKPlus); LorentzVectorPtEtaPhiMass pion = LorentzVectorPtEtaPhiMass(pionTrack.pt(), pionTrack.eta(), pionTrack.phi(), - o2::constants::physics::MassPiPlus); + o2::constants::physics::MassPiPlus); LorentzVectorPtEtaPhiMass kstar = kaon + pion; float invMass = kstar.M(); @@ -1338,4 +1338,4 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) { return WorkflowSpec{ adaptAnalysisTask(cfgc)}; -} \ No newline at end of file +} diff --git a/PWGLF/Tasks/Resonances/hResonanceCorrelation.cxx b/PWGLF/Tasks/Resonances/hResonanceCorrelation.cxx index 765caf4a7d0..0d877838233 100644 --- a/PWGLF/Tasks/Resonances/hResonanceCorrelation.cxx +++ b/PWGLF/Tasks/Resonances/hResonanceCorrelation.cxx @@ -1361,7 +1361,7 @@ struct HResonanceCorrelation { c.isRightBg = (massWindowConfigurationsPhi.minBgNSigma * sig < delta && delta < massWindowConfigurationsPhi.maxBgNSigma * sig); c.passesMcSelection = (!masterConfigurations.doMCassociation || assocCandidate.mcTruePhi()) && - (!doAssocPhysicalPrimary || assocCandidate.mcPhysicalPrimary()); + (!doAssocPhysicalPrimary || assocCandidate.mcPhysicalPrimary()); // Candidate-level kinematic/spectrum QA, ported from the equivalent // block in hStrangeCorrelation.cxx (h3dSpectrum[Y], @@ -1712,7 +1712,7 @@ struct HResonanceCorrelation { c.isRightBg = (massWindowConfigurationsKstar.minBgNSigma * sig < delta && delta < massWindowConfigurationsKstar.maxBgNSigma * sig); c.passesMcSelection = (!masterConfigurations.doMCassociation || assocCandidate.mcTrueKstar()) && - (!doAssocPhysicalPrimary || assocCandidate.mcPhysicalPrimary()); + (!doAssocPhysicalPrimary || assocCandidate.mcPhysicalPrimary()); // Same candidate-level Spectrum/EtaVsPtVsPhi QA as fillCorrelationsPhi // above -- see the comment there for rationale. @@ -2717,7 +2717,7 @@ struct HResonanceCorrelation { std::vector piIndices; std::vector phiIndices; std::vector kstarIndices; // intentionally left unpopulated: Kstar0 is not - // extended to this process function in this version + // extended to this process function in this version for (auto const& mcParticle : mcParticles) { double geta = mcParticle.eta(); @@ -2830,9 +2830,9 @@ struct HResonanceCorrelation { } } - associatedIndices.emplace_back(phiIndices); // IndexPhi = 0 - associatedIndices.emplace_back(kstarIndices); // IndexKstar = 1 (always empty here) - associatedIndices.emplace_back(piIndices); // IndexPion = 2 + associatedIndices.emplace_back(phiIndices); // IndexPhi = 0 + associatedIndices.emplace_back(kstarIndices); // IndexKstar = 1 (always empty here) + associatedIndices.emplace_back(piIndices); // IndexPion = 2 associatedIndices.emplace_back(assocHadronIndices); // Hadron = 3 for (std::size_t iTrigger = 0; iTrigger < triggerIndices.size(); iTrigger++) { @@ -2914,7 +2914,7 @@ struct HResonanceCorrelation { std::vector piIndices; std::vector phiIndices; std::vector kstarIndices; // intentionally left unpopulated: Kstar0 is not - // extended to this process function in this version + // extended to this process function in this version float centMultFT0M = -1; float centMultFT0A = -1; float centMultFT0C = -1; @@ -2998,9 +2998,9 @@ struct HResonanceCorrelation { } } - associatedIndices.emplace_back(phiIndices); // IndexPhi = 0 - associatedIndices.emplace_back(kstarIndices); // IndexKstar = 1 (always empty here) - associatedIndices.emplace_back(piIndices); // IndexPion = 2 + associatedIndices.emplace_back(phiIndices); // IndexPhi = 0 + associatedIndices.emplace_back(kstarIndices); // IndexKstar = 1 (always empty here) + associatedIndices.emplace_back(piIndices); // IndexPion = 2 associatedIndices.emplace_back(assocHadronIndices); // Hadron = 3 for (std::size_t iTrigger = 0; iTrigger < triggerIndices.size(); iTrigger++) { auto triggerParticle = mcParticles.iteratorAt(triggerIndices[iTrigger]); @@ -3074,4 +3074,4 @@ struct HResonanceCorrelation { WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) { return WorkflowSpec{adaptAnalysisTask(cfgc)}; -} \ No newline at end of file +}