Skip to content

Commit

Permalink
remove cm63 from state calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
SPRUCK Bjoern committed May 31, 2022
1 parent 6591440 commit c3a7742
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dqm/analysis/modules/src/DQMHistAnalysisPXDCM.cc
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,8 @@ void DQMHistAnalysisPXDCMModule::event()
mean_adhoc += v * (cm_y + 1);
}
// Attention, Bins
for (int cm_y = m_upperLineAdhoc; cm_y < 64; cm_y++) {
// We ignore CM63 in outside and overall count
for (int cm_y = m_upperLineAdhoc; cm_y < 63; cm_y++) {
auto v = m_hCommonModeDelta->GetBinContent(m_hCommonModeDelta->GetBin(i + 1, cm_y + 1));
entries_adhoc += v;
outside_adhoc += v;
Expand Down Expand Up @@ -326,6 +327,7 @@ void DQMHistAnalysisPXDCMModule::event()
m_cCommonMode->Pad()->SetFillColor(kYellow);// Yellow
status = 3;
} else if (all_outside == 0. /*&& all_cm == 0.*/) {
// do not react on all_cm, we better monitor it elsewhere for clearity
m_cCommonMode->Pad()->SetFillColor(kGreen);// Green
status = 2;
} else { // between 0 and 50 ...
Expand Down

0 comments on commit c3a7742

Please sign in to comment.