diff --git a/PWGLF/TableProducer/Resonances/hResonanceCorrelationFilter.cxx b/PWGLF/TableProducer/Resonances/hResonanceCorrelationFilter.cxx index 9e2629e0eac..04ee20109d5 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(); diff --git a/PWGLF/Tasks/Resonances/hResonanceCorrelation.cxx b/PWGLF/Tasks/Resonances/hResonanceCorrelation.cxx index 17ca39f9aa4..3bffb7c1c69 100644 --- a/PWGLF/Tasks/Resonances/hResonanceCorrelation.cxx +++ b/PWGLF/Tasks/Resonances/hResonanceCorrelation.cxx @@ -1363,7 +1363,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], @@ -1714,7 +1714,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. @@ -2719,7 +2719,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(); @@ -2832,9 +2832,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++) { @@ -2916,7 +2916,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; @@ -3000,9 +3000,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]);