Skip to content

Commit

Permalink
Merge pull request #45956 from alaperto/reset_Dead_channels_map_BP_14_0
Browse files Browse the repository at this point in the history
Reset Pixel Dead ROCs map Online GUI (BP to 14_0_X)
  • Loading branch information
cmsbuild authored Sep 12, 2024
2 parents d771c6b + 956a3fd commit 5672c81
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions DQM/SiPixelPhase1Summary/src/SiPixelPhase1Summary.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5672c81

Please sign in to comment.