Skip to content

Commit 8b4fb5e

Browse files
author
jokonig
committed
[EMCAL-567] Fix 1/3 SM numbers
- SM20 -> SM19. SM20 does not exist
1 parent 8c105b5 commit 8b4fb5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Detectors/EMCAL/calibration/src/EMCALTempCalibExtractor.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ float EMCALTempCalibExtractor::getGainCalibFactor(const unsigned short cellID) c
105105
std::vector<unsigned short> EMCALTempCalibExtractor::getSensorsForSM(const unsigned short iSM) const
106106
{
107107
unsigned short nSensors = 8;
108-
if (iSM == 10 || iSM == 11 || iSM == 19 || iSM == 20) {
108+
if (iSM == 10 || iSM == 11 || iSM == 18 || iSM == 19) { // 1/3 SM of EMCal only have 4 sensors
109109
nSensors = 4;
110110
}
111111

0 commit comments

Comments
 (0)