Skip to content

Commit 20dc5ff

Browse files
authored
Merge pull request #45955 from alaperto/reset_Dead_channels_map
Reset Pixel Dead channels map Online GUI
2 parents 0fac3f2 + 28019ec commit 20dc5ff

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

DQM/SiPixelPhase1Summary/src/SiPixelPhase1Summary.cc

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,20 +455,34 @@ void SiPixelPhase1Summary::fillTrendPlots(DQMStore::IBooker& iBooker, DQMStore::
455455
if (!runOnEndLumi_)
456456
return; // The following only occurs in the online
457457
//Reset some MEs every 10LS here
458-
for (auto it : {1, 2, 3, 4}) { //PXBarrel
458+
for (auto it : {1, 2, 3, 4}) { //PXBarrel (Cluster position and Dead channels)
459459
histName = "PixelPhase1/Phase1_MechanicalView/PXBarrel/clusterposition_zphi_PXLayer_" + std::to_string(it);
460460
MonitorElement* toReset = iGetter.get(histName);
461461
if (toReset != nullptr) {
462462
toReset->Reset();
463463
}
464+
histName = "PixelPhase1/FED/Dead Channels per ROC_per_SignedModuleCoord_per_SignedLadderCoord_PXLayer_" +
465+
std::to_string(it);
466+
MonitorElement* twoReset = iGetter.get(histName);
467+
if (twoReset != nullptr) {
468+
twoReset->Reset();
469+
}
464470
}
465-
for (auto it : {"-3", "-2", "-1", "+1", "+2", "+3"}) { //PXForward
471+
for (auto it : {"-3", "-2", "-1", "+1", "+2", "+3"}) { //PXForward (Cluster position)
466472
histName = "PixelPhase1/Phase1_MechanicalView/PXForward/clusterposition_xy_PXDisk_" + std::string(it);
467473
MonitorElement* toReset = iGetter.get(histName);
468474
if (toReset != nullptr) {
469475
toReset->Reset();
470476
}
471477
}
478+
for (auto it : {1, 2}) { //PXForward (Dead channels)
479+
histName = "PixelPhase1/FED/Dead Channels per ROC_per_SignedDiskCoord_per_SignedBladePanelCoord_PXRing_" +
480+
std::to_string(it);
481+
MonitorElement* twoReset = iGetter.get(histName);
482+
if (twoReset != nullptr) {
483+
twoReset->Reset();
484+
}
485+
}
472486
}
473487

474488
//define this as a plug-in

0 commit comments

Comments
 (0)