Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabled ROCs for Online DQM Pixel Summary #45026

Merged
merged 1 commit into from
May 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion DQM/SiPixelPhase1Summary/src/SiPixelPhase1Summary.cc
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ void SiPixelPhase1Summary::fillSummaries(DQMStore::IBooker& iBooker, DQMStore::I
//Fill the dead ROC summary
std::vector<trendPlots> trendOrder = {layer1, layer2, layer3, layer4, ring1, ring2};
std::vector<int> nRocsPerTrend = {1536, 3584, 5632, 8192, 4224, 6528};
std::vector<int> nDisabledRocs = {12, 128, 240, 320, 96, 120};
alaperto marked this conversation as resolved.
Show resolved Hide resolved

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the clarification. It's good to know that the list is stable and that the numbers have been consistent since June 2023. Let's hope that the detector remains stable and we don't encounter further losses in 2024 and 2025.

for (unsigned int i = 0; i < trendOrder.size(); i++) {
int xBin = i < 4 ? 1 : 2;
int yBin = i % 4 + 1;
Expand Down Expand Up @@ -321,7 +322,9 @@ void SiPixelPhase1Summary::fillSummaries(DQMStore::IBooker& iBooker, DQMStore::I
// Filled ROCs = Total number - dead ROCs
numFilledROCs = nRocsPerTrend[i] - numDeadROCs;
//Fill with fraction of filled ROCs (with digis)
fracFilledROCs = numFilledROCs / nRocsPerTrend[i];
fracFilledROCs = numFilledROCs / (nRocsPerTrend[i] - nDisabledRocs[i]);
if (fracFilledROCs > 1)
fracFilledROCs = 1;
deadROCSummary->setBinContent(xBin, yBin, fracFilledROCs);
deadROCSummary->setBinContent(2, 3, -1);
deadROCSummary->setBinContent(2, 4, -1);
Expand Down