Skip to content

Commit

Permalink
Final commit: Removed the repeated lines of L331-L345
Browse files Browse the repository at this point in the history
  • Loading branch information
sayanchatterjee38 committed Nov 4, 2021
1 parent 5fb06ad commit 65d409f
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions DQM/SiPixelPhase1Summary/src/SiPixelPhase1Summary.cc
Expand Up @@ -343,21 +343,6 @@ void SiPixelPhase1Summary::fillSummaries(DQMStore::IBooker& iBooker, DQMStore::I

sumOfNonNegBins += summaryMap_["Grand"]->getBinContent(i + 1, j + 1);
}
if (i == 1 && j > 1) {
summaryMap_["Grand"]->setBinContent(i + 1, j + 1, -1);
} else {
if (deadROCSummary->getBinContent(i + 1, j + 1) < deadRocWarnThresholds_[i * 4 + j])
summaryMap_["Grand"]->setBinContent(i + 1, j + 1, 1);

else if (deadROCSummary->getBinContent(i + 1, j + 1) > deadRocWarnThresholds_[i * 4 + j] &&
deadROCSummary->getBinContent(i + 1, j + 1) < deadRocThresholds_[i * 4 + j])
summaryMap_["Grand"]->setBinContent(i + 1, j + 1, 0.8);

else
summaryMap_["Grand"]->setBinContent(i + 1, j + 1, 0);

sumOfNonNegBins += summaryMap_["Grand"]->getBinContent(i + 1, j + 1);
}
}
}
}
Expand Down

0 comments on commit 65d409f

Please sign in to comment.