From e0ce869b3536a6d99ae52dd7aa9263ee2db23807 Mon Sep 17 00:00:00 2001 From: Shahzad Malik Muzaffar Date: Wed, 17 Jul 2024 13:27:24 +0200 Subject: [PATCH] [DQM] Fix Warning: move the unused code in the comment where it is needed --- DQM/EcalMonitorClient/src/LedClient.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DQM/EcalMonitorClient/src/LedClient.cc b/DQM/EcalMonitorClient/src/LedClient.cc index 057ac37670496..ec098c79bf5e8 100644 --- a/DQM/EcalMonitorClient/src/LedClient.cc +++ b/DQM/EcalMonitorClient/src/LedClient.cc @@ -159,16 +159,16 @@ namespace ecaldqm { meTimingMean.fill(getEcalDQMSetupObjects(), id, tMean); meTimingRMSMap.setBinContent(getEcalDQMSetupObjects(), id, tRms); + //Temporarily disabling all cuts on LED Quality plot. + qItr->setBinContent(doMask ? kMGood : kGood); + + /* float intensity(aMean / expectedAmplitude_[wlItr->second]); if (isForward(id)) intensity /= forwardFactor_; float aRmsThr(sqrt(pow(aMean * toleranceAmpRMSRatio_, 2) + pow(3., 2))); - //Temporarily disabling all cuts on LED Quality plot. - qItr->setBinContent(doMask ? kMGood : kGood); - - /* EcalScDetId scid = EEDetId(id).sc(); //Get the Endcap SC id for the given crystal id. //For the known bad Supercrystals in the SClist, bad quality flag is only set based on the amplitude RMS