Skip to content

Commit b511015

Browse files
jokonigjokonig
authored andcommitted
[EMCAL-567] Fix 1/3 SM numbers (AliceO2Group#14477)
- SM20 -> SM19. SM20 does not exist Co-authored-by: jokonig <jokonig@cern.ch>
1 parent 202fba7 commit b511015

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)