From 28019ecc212c600b8a86d9e7ce2273cc5b072532 Mon Sep 17 00:00:00 2001 From: Alessandro Lapertosa Date: Mon, 9 Sep 2024 12:00:07 +0200 Subject: [PATCH] Reset Pixel Dead ROCs map Online GUI --- .../src/SiPixelPhase1Summary.cc | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/DQM/SiPixelPhase1Summary/src/SiPixelPhase1Summary.cc b/DQM/SiPixelPhase1Summary/src/SiPixelPhase1Summary.cc index 22259f69eea25..d09a6abf82d74 100644 --- a/DQM/SiPixelPhase1Summary/src/SiPixelPhase1Summary.cc +++ b/DQM/SiPixelPhase1Summary/src/SiPixelPhase1Summary.cc @@ -455,20 +455,34 @@ void SiPixelPhase1Summary::fillTrendPlots(DQMStore::IBooker& iBooker, DQMStore:: if (!runOnEndLumi_) return; // The following only occurs in the online //Reset some MEs every 10LS here - for (auto it : {1, 2, 3, 4}) { //PXBarrel + for (auto it : {1, 2, 3, 4}) { //PXBarrel (Cluster position and Dead channels) histName = "PixelPhase1/Phase1_MechanicalView/PXBarrel/clusterposition_zphi_PXLayer_" + std::to_string(it); MonitorElement* toReset = iGetter.get(histName); if (toReset != nullptr) { toReset->Reset(); } + histName = "PixelPhase1/FED/Dead Channels per ROC_per_SignedModuleCoord_per_SignedLadderCoord_PXLayer_" + + std::to_string(it); + MonitorElement* twoReset = iGetter.get(histName); + if (twoReset != nullptr) { + twoReset->Reset(); + } } - for (auto it : {"-3", "-2", "-1", "+1", "+2", "+3"}) { //PXForward + for (auto it : {"-3", "-2", "-1", "+1", "+2", "+3"}) { //PXForward (Cluster position) histName = "PixelPhase1/Phase1_MechanicalView/PXForward/clusterposition_xy_PXDisk_" + std::string(it); MonitorElement* toReset = iGetter.get(histName); if (toReset != nullptr) { toReset->Reset(); } } + for (auto it : {1, 2}) { //PXForward (Dead channels) + histName = "PixelPhase1/FED/Dead Channels per ROC_per_SignedDiskCoord_per_SignedBladePanelCoord_PXRing_" + + std::to_string(it); + MonitorElement* twoReset = iGetter.get(histName); + if (twoReset != nullptr) { + twoReset->Reset(); + } + } } //define this as a plug-in