Skip to content

Commit a7a338d

Browse files
jokonigjokonig
andauthored
[EMCAL-565] Fix axis for time histogram in bad channel calibration (#13039)
- min and max values were swapped. This was not an issue for the calibration itself but when converting from boost to root histograms Co-authored-by: jokonig <jokonig@cern.ch>
1 parent 5a496c9 commit a7a338d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Detectors/EMCAL/calibration/include/EMCALCalibration/EMCALChannelData.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class EMCALChannelData
7373
mHistoTime.resize(mNThreads);
7474
for (size_t i = 0; i < mNThreads; ++i) {
7575
mHisto[i] = boost::histogram::make_histogram(boost::histogram::axis::regular<>(mNBins, 0., mRange), boost::histogram::axis::regular<>(NCELLS, -0.5, NCELLS - 0.5));
76-
mHistoTime[i] = boost::histogram::make_histogram(boost::histogram::axis::regular<>(mNBinsTime, mRangeTimeHigh, mRangeTimeLow), boost::histogram::axis::regular<>(NCELLS, -0.5, NCELLS - 0.5));
76+
mHistoTime[i] = boost::histogram::make_histogram(boost::histogram::axis::regular<>(mNBinsTime, mRangeTimeLow, mRangeTimeHigh), boost::histogram::axis::regular<>(NCELLS, -0.5, NCELLS - 0.5));
7777
mVecNEntriesInHisto[i] = 0;
7878
}
7979
}

0 commit comments

Comments
 (0)