Skip to content

Commit

Permalink
ITS - fix to recent improvement of quality checks (#2417)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolovalle authored Sep 12, 2024
1 parent a142eb9 commit 5756e27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/ITS/src/ITSChipStatusTask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ void ITSChipStatusTask::endOfCycle()

FeeIDOverview->Reset();
for (int iBarrel = 0; iBarrel < 3; iBarrel++) {
TH1D* hBarProj = DeadChips[iBarrel]->getNum()->ProjectionY("temp", TMath::Max(1, nQCCycleToMonitor - NCycleForOverview + 1), nQCCycleToMonitor);
TH1D* hBarProj = DeadChips[iBarrel]->ProjectionY("temp", TMath::Max(1, nQCCycleToMonitor - NCycleForOverview + 1), nQCCycleToMonitor);

for (int ic = 0; ic < hBarProj->GetNbinsX(); ic++) {
if (hBarProj->GetBinContent(ic + 1) < NCycleForOverview) { // report only chips dead for N consecutive cycles
Expand All @@ -211,7 +211,7 @@ void ITSChipStatusTask::endOfCycle()
}
FeeIDOverview->Sumw2(kFALSE);
FeeIDOverview->SetMinimum(0);
FeeIDOverview->SetMaximum(1);
FeeIDOverview->SetMaximum(1.1);

int iLayer = 0;
int iStave = 0;
Expand Down

0 comments on commit 5756e27

Please sign in to comment.