We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b91d5b commit 73a3e58Copy full SHA for 73a3e58
Calibration/HcalCalibAlgos/macros/CalibFitPlots.C
@@ -2495,7 +2495,7 @@ void PlotHistCorrAsymmetry(
2495
double dy(0);
2496
int maxd = (depth < 0) ? maxdepth : 1;
2497
for (int j = 0; j < maxd; ++j) {
2498
- int dep = (depth < 0) ? (j + 1) : depth;
+ int dep = (depth <= 0) ? (j + 1) : depth;
2499
sprintf(name, "hd%d", dep);
2500
TObject* ob = gROOT->FindObject(name);
2501
if (ob)
0 commit comments