@@ -1271,9 +1271,9 @@ struct LambdaCascadeProducer {
12711271 }
12721272
12731273 // Kinematic Selection
1274- bool kinCutSelection (float const & pt , float const & rap , float const & ptMin, float const & ptMax, float const & rapMax)
1274+ bool kinCutSelection (float const & ptVal , float const & rapVal , float const & ptMin, float const & ptMax, float const & rapMax)
12751275 {
1276- if (pt <= ptMin || pt >= ptMax || rap >= rapMax) {
1276+ if (ptVal <= ptMin || ptVal >= ptMax || rapVal >= rapMax) {
12771277 return false ;
12781278 }
12791279
@@ -1784,15 +1784,15 @@ struct LambdaCascadeProducer {
17841784
17851785 // Fill Lambda Kinematic Histograms
17861786 template <RecGenType rg, ParticleType part>
1787- void fillKinematicHists (float const & pt , float const & eta , float const & y, float const & phi )
1787+ void fillKinematicHists (float const & ptVal , float const & etaVal , float const & y, float const & phiVal )
17881788 {
17891789 static constexpr std::string_view SubDirRG[] = {" McRec/" , " McGen/" };
17901790 static constexpr std::string_view SubDirPart[] = {" Lambda/" , " AntiLambda/" };
17911791
1792- histos.fill (HIST (SubDirRG[rg]) + HIST (SubDirPart[part]) + HIST (" hPt" ), pt );
1793- histos.fill (HIST (SubDirRG[rg]) + HIST (SubDirPart[part]) + HIST (" hEta" ), eta );
1792+ histos.fill (HIST (SubDirRG[rg]) + HIST (SubDirPart[part]) + HIST (" hPt" ), ptVal );
1793+ histos.fill (HIST (SubDirRG[rg]) + HIST (SubDirPart[part]) + HIST (" hEta" ), etaVal );
17941794 histos.fill (HIST (SubDirRG[rg]) + HIST (SubDirPart[part]) + HIST (" hRap" ), y);
1795- histos.fill (HIST (SubDirRG[rg]) + HIST (SubDirPart[part]) + HIST (" hPhi" ), phi );
1795+ histos.fill (HIST (SubDirRG[rg]) + HIST (SubDirPart[part]) + HIST (" hPhi" ), phiVal );
17961796 }
17971797
17981798 // Reconstructed Level Tables
0 commit comments