Skip to content

Commit 73a3e58

Browse files
author
Sunanda
committed
Fix as suggested by Andrea
1 parent 0b91d5b commit 73a3e58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Calibration/HcalCalibAlgos/macros/CalibFitPlots.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2495,7 +2495,7 @@ void PlotHistCorrAsymmetry(
24952495
double dy(0);
24962496
int maxd = (depth < 0) ? maxdepth : 1;
24972497
for (int j = 0; j < maxd; ++j) {
2498-
int dep = (depth < 0) ? (j + 1) : depth;
2498+
int dep = (depth <= 0) ? (j + 1) : depth;
24992499
sprintf(name, "hd%d", dep);
25002500
TObject* ob = gROOT->FindObject(name);
25012501
if (ob)

0 commit comments

Comments
 (0)