From e2d3e8eaff0ad71f5f968022883397736693258b Mon Sep 17 00:00:00 2001 From: Sierra Weyhmiller Date: Thu, 4 Jul 2024 09:23:39 -0400 Subject: [PATCH] [EMCAL-529] Changed variable named with keyword --- Modules/EMCAL/src/NumPatchesPerFastORCheck.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Modules/EMCAL/src/NumPatchesPerFastORCheck.cxx b/Modules/EMCAL/src/NumPatchesPerFastORCheck.cxx index 0ee7c4b761..c65ffa8259 100644 --- a/Modules/EMCAL/src/NumPatchesPerFastORCheck.cxx +++ b/Modules/EMCAL/src/NumPatchesPerFastORCheck.cxx @@ -169,8 +169,8 @@ Quality NumPatchesPerFastORCheck::check(std::mapmCounts, i->mFastORID, i->mPosGlobalPhi, i->mPosGlobalEta, i->mRejected }; - finalBadFastORs.push_back(final); + FastORNoiseLevel finalFastOR{ i->mCounts, i->mFastORID, i->mPosGlobalPhi, i->mPosGlobalEta, i->mRejected }; + finalBadFastORs.push_back(finalFastOR); } // Save the positions of the final Bad FastORs and display the error message @@ -212,8 +212,8 @@ Quality NumPatchesPerFastORCheck::check(std::mapmCounts, i->mFastORID, i->mPosGlobalPhi, i->mPosGlobalEta, i->mRejected }; - finalMedFastORs.push_back(final); + FastORNoiseLevel finalFastOR{ i->mCounts, i->mFastORID, i->mPosGlobalPhi, i->mPosGlobalEta, i->mRejected }; + finalMedFastORs.push_back(finalFastOR); } // Save the positions of the final Med FastORs and display the error message