diff --git a/PWGLF/DataModel/LFStrangenessTables.h b/PWGLF/DataModel/LFStrangenessTables.h index 73ee1e0cc52..81d339eb02a 100644 --- a/PWGLF/DataModel/LFStrangenessTables.h +++ b/PWGLF/DataModel/LFStrangenessTables.h @@ -101,10 +101,10 @@ DECLARE_SOA_COLUMN(Py, py, float); //! py DECLARE_SOA_COLUMN(Pz, pz, float); //! pz DECLARE_SOA_COLUMN(PDGCode, pdgCode, int); //! pdg code DECLARE_SOA_COLUMN(IsPhysicalPrimary, isPhysicalPrimary, bool); //! primary criterion -} +} // namespace motherParticle DECLARE_SOA_TABLE(MotherMCParticles, "AOD", "MOTHERMCPART", //! mother MC information - motherParticle::Px, motherParticle::Py, motherParticle::Pz, + motherParticle::Px, motherParticle::Py, motherParticle::Pz, motherParticle::PDGCode, motherParticle::IsPhysicalPrimary); using MotherMCParticle = MotherMCParticles::iterator; diff --git a/PWGLF/TableProducer/lambdakzerobuilder.cxx b/PWGLF/TableProducer/lambdakzerobuilder.cxx index f862e805c29..44493faf4d1 100644 --- a/PWGLF/TableProducer/lambdakzerobuilder.cxx +++ b/PWGLF/TableProducer/lambdakzerobuilder.cxx @@ -652,7 +652,7 @@ struct lambdakzeroBuilder { auto lPtAnHy = RecoDecay::sqrtSumOfSquares(v0candidate.posP[0] + 2.0f * v0candidate.negP[0], v0candidate.posP[1] + 2.0f * v0candidate.negP[1]); // Fill basic mass histograms - if( TMath::Abs(RecoDecay::eta(std::array{px, py, pz}))<0.5 ) { + if (TMath::Abs(RecoDecay::eta(std::array{px, py, pz})) < 0.5) { if ((V0.isdEdxGamma() || dEdxUnchecked) && (V0.isTrueGamma() || mcUnchecked)) registry.fill(HIST("h2dGammaMass"), lPt, lGammaMass); if ((V0.isdEdxK0Short() || dEdxUnchecked) && (V0.isTrueK0Short() || mcUnchecked)) diff --git a/PWGLF/TableProducer/lambdakzeromcfinder.cxx b/PWGLF/TableProducer/lambdakzeromcfinder.cxx index cf6a1c180ed..9cb691e897e 100644 --- a/PWGLF/TableProducer/lambdakzeromcfinder.cxx +++ b/PWGLF/TableProducer/lambdakzeromcfinder.cxx @@ -321,7 +321,7 @@ struct lambdakzeromcfinder { bool reconstructed = false; for (auto& mcParticle : mcParticles) { if (fabs(mcParticle.y()) > yPreFilter) - continue; // go declarative at a later stage but pre-filter here + continue; // go declarative at a later stage but pre-filter here if (mcParticle.pdgCode() == 22 && findGamma) { reconstructed = ProcessV0(mcParticle, tracks, bestCollisionIndex, positiveITS, negativeITS, positiveTPC, negativeTPC, positiveTPCITS, negativeTPCITS); diff --git a/PWGLF/TableProducer/strangederivedbuilder.cxx b/PWGLF/TableProducer/strangederivedbuilder.cxx index 00f2cfba425..203f08bff47 100644 --- a/PWGLF/TableProducer/strangederivedbuilder.cxx +++ b/PWGLF/TableProducer/strangederivedbuilder.cxx @@ -73,7 +73,7 @@ struct strangederivedbuilder { Produces dauTrackTPCPIDs; // daughter track TPC PID Produces v0Extras; // references DauTracks from V0s Produces cascExtras; // references DauTracks from cascades - Produces straTrackExtras; // references DauTracks from tracked cascades + Produces straTrackExtras; // references DauTracks from tracked cascades //__________________________________________________ // cascade interlinks @@ -84,9 +84,9 @@ struct strangederivedbuilder { //__________________________________________________ // mother information - Produces v0mothers; // V0 mother references - Produces cascmothers; // casc mother references - Produces motherMCParticles; //mc particles for mothers + Produces v0mothers; // V0 mother references + Produces cascmothers; // casc mother references + Produces motherMCParticles; // mc particles for mothers // histogram registry for bookkeeping HistogramRegistry histos{"Histos", {}, OutputObjHandlingPolicy::AnalysisObject}; @@ -332,9 +332,9 @@ struct strangederivedbuilder { //__________________________________________________ // mark mcParticles for referencing for (auto const& v0 : V0s) - motherReference[v0.mcParticleId()] = 0; + motherReference[v0.mcParticleId()] = 0; for (auto const& ca : Cascades) - motherReference[ca.mcParticleId()] = 0; + motherReference[ca.mcParticleId()] = 0; //__________________________________________________ // Figure out the numbering of the new mcMother table // assume filling per order diff --git a/PWGLF/Tasks/QC/straRecoStudy.cxx b/PWGLF/Tasks/QC/straRecoStudy.cxx index bc06510b92c..9c5dce18d9e 100644 --- a/PWGLF/Tasks/QC/straRecoStudy.cxx +++ b/PWGLF/Tasks/QC/straRecoStudy.cxx @@ -804,7 +804,7 @@ struct straRecoStudy { { // check if collision successfully reconstructed for (auto& mcp : mcParticles) { - if (TMath::Abs(mcp.eta()) < 0.5) { + if (TMath::Abs(mcp.eta()) < 0.5) { if (mcp.pdgCode() == 22) histos.fill(HIST("hGenGamma"), mcp.pt()); if (mcp.pdgCode() == 310)