Skip to content

Commit

Permalink
Update ITSThresholdCalibrationTask.cxx (#2413)
Browse files Browse the repository at this point in the history
Trivial change
  • Loading branch information
iravasen authored Sep 11, 2024
1 parent 35fe424 commit a142eb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/ITS/src/ITSThresholdCalibrationTask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit a142eb9

Please sign in to comment.