Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ITSThresholdCalibrationTask.cxx #2413

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading