From a142eb91554b5f53936653977afe6e8d2d45548a Mon Sep 17 00:00:00 2001 From: iravasen Date: Wed, 11 Sep 2024 12:02:39 +0200 Subject: [PATCH] Update ITSThresholdCalibrationTask.cxx (#2413) Trivial change --- Modules/ITS/src/ITSThresholdCalibrationTask.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/ITS/src/ITSThresholdCalibrationTask.cxx b/Modules/ITS/src/ITSThresholdCalibrationTask.cxx index 563d4836eb..68a8d35c2c 100644 --- a/Modules/ITS/src/ITSThresholdCalibrationTask.cxx +++ b/Modules/ITS/src/ITSThresholdCalibrationTask.cxx @@ -180,7 +180,7 @@ void ITSThresholdCalibrationTask::doAnalysisTHR(string inString, int iScan) hCalibrationThrNoiseLayer[result.Layer]->Fill(result.Noise); hCalibrationThrNoiseRMSLayer[result.Layer]->Fill(result.NoiseRMS); } - // Fill percentage of unsuccess + // Fill percentage of success hUnsuccess[iBarrel]->SetBinContent(currentChip, currentStave, result.status); } else if (iScan == 4) { // fill 2D plots for the pulse length scan @@ -447,7 +447,7 @@ void ITSThresholdCalibrationTask::createAllHistos() addObject(hCalibrationChipDone[iBarrel]); // Unsuccess 2D plot - hUnsuccess[iBarrel] = new TH2F(Form("ChipUnsuccess%s", sBarrelType[iBarrel].Data()), Form("Percentage of unsuccess %s", sBarrelType[iBarrel].Data()), nChips[iBarrel], -0.5, nChips[iBarrel] - 0.5, nStaves[iBarrel], -0.5, nStaves[iBarrel] - 0.5); + hUnsuccess[iBarrel] = new TH2F(Form("ChipUnsuccess%s", sBarrelType[iBarrel].Data()), Form("Percentage of success %s", sBarrelType[iBarrel].Data()), nChips[iBarrel], -0.5, nChips[iBarrel] - 0.5, nStaves[iBarrel], -0.5, nStaves[iBarrel] - 0.5); hUnsuccess[iBarrel]->SetStats(0); hUnsuccess[iBarrel]->SetMinimum(0); hUnsuccess[iBarrel]->SetMaximum(100);