@@ -1601,7 +1601,7 @@ struct V0QA {
16011601 if (!v0.has_mcParticle ())
16021602 continue ;
16031603
1604- int pdg = v0.mcParticle ().pdgCode ();
1604+ // int pdg = v0.mcParticle().pdgCode(); // FIXME: unused
16051605
16061606 // Check V0 decay kinematics
16071607 if (v0.isRejectedCandidate ())
@@ -1612,7 +1612,7 @@ struct V0QA {
16121612
16131613 auto pv0 = v0.mcParticle ();
16141614 auto mother = v0.mcMotherParticle ();
1615- pdg = mother.pdgCode ();
1615+ auto pdg = mother.pdgCode ();
16161616
16171617 if (pdg == PDG_t::kXiMinus ) {
16181618 registry.fill (HIST (" feeddown/XiMinusPtYLambdaPt" ), mother.pt (), mother.y (), pv0.pt (), weight);
@@ -1638,7 +1638,7 @@ struct V0QA {
16381638 if (!v0.has_mcParticle ())
16391639 continue ;
16401640
1641- int pdg = v0.mcParticle ().pdgCode ();
1641+ // int pdg = v0.mcParticle().pdgCode(); // FIXME: unused
16421642
16431643 // Check V0 decay kinematics
16441644 if (v0.isRejectedCandidate ())
@@ -1649,7 +1649,7 @@ struct V0QA {
16491649
16501650 auto pv0 = v0.mcParticle ();
16511651 auto mother = v0.mcMotherParticle ();
1652- pdg = mother.pdgCode ();
1652+ auto pdg = mother.pdgCode ();
16531653
16541654 if (pdg == PDG_t::kXiMinus ) {
16551655 registry.fill (HIST (" feeddown/JetPtXiMinusPtLambdaPt" ), mcdjet.pt (), mother.pt (), pv0.pt (), weight);
@@ -1683,14 +1683,14 @@ struct V0QA {
16831683 if (!v0sAreMatched (v0, pv0, jTracks))
16841684 continue ;
16851685
1686- int pdg = v0.mcParticle ().pdgCode ();
1686+ // int pdg = v0.mcParticle().pdgCode(); // FIXME: unused
16871687
16881688 // Check V0 decay kinematics
16891689 if (v0.isRejectedCandidate ())
16901690 continue ;
16911691
16921692 auto mother = v0.mcMotherParticle ();
1693- pdg = mother.pdgCode ();
1693+ auto pdg = mother.pdgCode ();
16941694 if (pdg == PDG_t::kXiMinus ) {
16951695 registry.fill (HIST (" feeddown/JetsPtXiMinusPtLambdaPt" ), mcpjet.pt (), mcdjet.pt (), mother.pt (), pv0.pt (), weight);
16961696 }
0 commit comments