Skip to content

Commit

Permalink
Fix as suggested by Andrea
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunanda committed Jan 6, 2025
1 parent 0b91d5b commit 73a3e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Calibration/HcalCalibAlgos/macros/CalibFitPlots.C
Original file line number Diff line number Diff line change
Expand Up @@ -2495,7 +2495,7 @@ void PlotHistCorrAsymmetry(
double dy(0);
int maxd = (depth < 0) ? maxdepth : 1;
for (int j = 0; j < maxd; ++j) {
int dep = (depth < 0) ? (j + 1) : depth;
int dep = (depth <= 0) ? (j + 1) : depth;
sprintf(name, "hd%d", dep);
TObject* ob = gROOT->FindObject(name);
if (ob)
Expand Down

0 comments on commit 73a3e58

Please sign in to comment.