message: Add round before cast to short
diff: @@ -1090,6 +1090,7 @@ short AliAnalysisTaskSEHFSystPID::ConvertFloatToShort(float num) {
  if(num>=static_cast<float>(numeric_limits<short>::max())) return numeric_limits<short>::max();
  else if(num<=static_cast<float>(numeric_limits<short>::min())) return numeric_limits<short>::min();
  + num = round(num);
  return static_cast<short>(num);
  }
  @@ -1098,6 +1099,7 @@ unsigned short AliAnalysisTaskSEHFSystPID::ConvertFloatToUnsignedShort(float num
  if(num>=static_cast<float>(numeric_limits<unsigned short>::max())) return numeric_limits<unsigned short>::max();
  else if(num<=static_cast<float>(numeric_limits<unsigned short>::min())) return numeric_limits<unsigned short>::min();
  + num = round(num);
  return static_cast<unsigned short>(num);
  }
  