Skip to content

Commit

Permalink
Merge pull request #45957 from alaperto/reset_Dead_channels_map_BP_14_1
Browse files Browse the repository at this point in the history
Reset Pixel Dead ROCs map Online GUI (BP to 14_1_X)
cmsbuild authored Sep 12, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 15acdc8 + fcfd2c0 commit 18a82f1
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
@@ -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

0 comments on commit 18a82f1

Please sign in to comment.