From ec21e57858386cd8b40005dd3d07967daa34f37b Mon Sep 17 00:00:00 2001 From: Shahzad Malik Muzaffar Date: Wed, 17 Jul 2024 13:03:14 +0200 Subject: [PATCH] [DQM] Fix Warning: move the unused code in the comment where it is needed --- DQM/EcalMonitorClient/src/LedClient.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DQM/EcalMonitorClient/src/LedClient.cc b/DQM/EcalMonitorClient/src/LedClient.cc index 057ac37670496..7c60a293f1bdb 100644 --- a/DQM/EcalMonitorClient/src/LedClient.cc +++ b/DQM/EcalMonitorClient/src/LedClient.cc @@ -163,12 +163,11 @@ namespace ecaldqm { 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); /* + float aRmsThr(sqrt(pow(aMean * toleranceAmpRMSRatio_, 2) + pow(3., 2))); 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