Skip to content

Commit

Permalink
Merge pull request #45494 from smuzaffar/140x-backport-45482
Browse files Browse the repository at this point in the history
[14.0.X][DQM] Fix Warning: move the unused code in the comment where it is needed
  • Loading branch information
cmsbuild authored Jul 22, 2024
2 parents b770785 + 887bdb4 commit a9b4380
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions DQM/EcalMonitorClient/src/LedClient.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9b4380

Please sign in to comment.