Skip to content

Commit 96edf50

Browse files
nicolovalleBarthelemy
authored andcommitted
ITS - fix to recent improvement of quality checks (#2417)
1 parent 4e1e7f2 commit 96edf50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/ITS/src/ITSChipStatusTask.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ void ITSChipStatusTask::endOfCycle()
200200

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

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

216216
int iLayer = 0;
217217
int iStave = 0;

0 commit comments

Comments
 (0)