Skip to content

Commit

Permalink
Reset Pixel Dead ROCs map Online GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
alaperto committed Sep 9, 2024
1 parent 8c3067b commit fcfd2c0
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 fcfd2c0

Please sign in to comment.