Skip to content

Commit fe9ab02

Browse files
authored
Nv fix (#2606)
* ITS - Fix position on chip status triangles * fixing another typo
1 parent 87762a0 commit fe9ab02

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Modules/ITS/src/ITSChipStatusTask.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void ITSChipStatusTask::initialize(o2::framework::InitContext& /*ctx*/)
5555

5656
StaveOverview = new TH2Poly();
5757
StaveOverview->SetName("StaveStatusOverview");
58-
TString title = "Number of QC cycles when stave is without data";
58+
TString title = "QC cycles when stave is without data";
5959
title += ";mm (IB 3x);mm (IB 3x)";
6060
StaveOverview->SetTitle(title);
6161
StaveOverview->SetStats(0);
@@ -234,8 +234,8 @@ void ITSChipStatusTask::endOfCycle()
234234

235235
if (nEmptyChips == nChipsPerHic[iLayer] * nHicPerStave[iLayer]) { // all the chips of the stave are dead
236236

237-
int binContent = StaveOverview->GetBinContent(iStave + StaveBoundary[iLayer]) * NCycleForOverview + 1;
238-
StaveOverview->SetBinContent(iStave + StaveBoundary[iLayer], 1. * binContent / NCycleForOverview);
237+
int binContent = StaveOverview->GetBinContent(iStave + 1 + StaveBoundary[iLayer]) * NCycleForOverview + 1;
238+
StaveOverview->SetBinContent(iStave + 1 + StaveBoundary[iLayer], 1. * binContent / NCycleForOverview);
239239
}
240240
nEmptyChips = 0;
241241
iStave++;

Modules/ITS/src/ITSFeeTask.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ void ITSFeeTask::setPlotsFormat()
260260
mTrailerCount->GetYaxis()->SetBinLabel(6, "45 kHz");
261261
mTrailerCount->GetYaxis()->SetBinLabel(8, "67 kHz");
262262
mTrailerCount->GetYaxis()->SetBinLabel(11, "101 kHz");
263-
mTrailerCount->GetYaxis()->SetBinLabel(15, "135 kHz");
263+
mTrailerCount->GetYaxis()->SetBinLabel(14, "135 kHz");
264264
mTrailerCount->GetYaxis()->SetBinLabel(20, "202 kHz");
265265

266266
setAxisTitle(mTrailerCount_reset, "QC FEEId", "Estimated ROF frequenccy");
@@ -269,7 +269,7 @@ void ITSFeeTask::setPlotsFormat()
269269
mTrailerCount_reset->GetYaxis()->SetBinLabel(6, "45 kHz");
270270
mTrailerCount_reset->GetYaxis()->SetBinLabel(8, "67 kHz");
271271
mTrailerCount_reset->GetYaxis()->SetBinLabel(11, "101 kHz");
272-
mTrailerCount_reset->GetYaxis()->SetBinLabel(15, "135 kHz");
272+
mTrailerCount_reset->GetYaxis()->SetBinLabel(14, "135 kHz");
273273
mTrailerCount_reset->GetYaxis()->SetBinLabel(20, "202 kHz");
274274
}
275275

0 commit comments

Comments
 (0)