Skip to content

Commit 7be0e0d

Browse files
jokonigshahor02
authored andcommitted
[EMCAL-841] Fix switched energy and time in cell calibration
- Calibrated time and calibrated energy were switched which results in wrong values energy and time in the AO2D file
1 parent 97a416c commit 7be0e0d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Detectors/EMCAL/calib/include/EMCALCalib/CellRecalibrator.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ class CellRecalibrator
142142
}
143143
}
144144

145-
float calibratedEnergy = inputcell.getTimeStamp();
146-
float calibratedTime = inputcell.getEnergy();
145+
float calibratedEnergy = inputcell.getEnergy();
146+
float calibratedTime = inputcell.getTimeStamp();
147147

148148
if (hasTimeCalibration()) {
149149
calibratedTime -= mTimeCalibration->getTimeCalibParam(inputcell.getTower(), inputcell.getLowGain());

0 commit comments

Comments
 (0)