message: silence also trd link errors in hlt processing
diff: @@ -2084,6 +2084,7 @@ Int_t AliTRDrawStream::SeekNextLink()
  return (fPayloadCurr - start);
  }
  +static int hltOnlineMode = getenv("HLT_ONLINE_MODE") && strcmp(getenv("HLT_ONLINE_MODE"), "on") == 0;
  void AliTRDrawStream::EquipmentError(ErrorCode_t err, const char *const msg, ...)
  {
  @@ -2099,14 +2100,12 @@ void AliTRDrawStream::EquipmentError(ErrorCode_t err, const char *const msg, ...
  (this->*fStoreError)();
  va_list ap;
  - static int hltOnlineMode = getenv("HLT_ONLINE_MODE") && strcmp(getenv("HLT_ONLINE_MODE"), "on") == 0;
  bool suppressError = false;
  if (hltOnlineMode)
  {
  static int hltErrorCounter = 0;
  if (hltErrorCounter++ >= 10) suppressError = true;
  }
  -
  if (!suppressError)
  {
  if (fgErrorDebugLevel[err] > 10)
  @@ -2137,6 +2136,14 @@ void AliTRDrawStream::StackError(ErrorCode_t err, const char *const msg, ...)
  (this->*fStoreError)();
  va_list ap;
  + bool suppressError = false;
  + if (hltOnlineMode)
  + {
  + static int hltErrorCounter = 0;
  + if (hltErrorCounter++ >= 5) suppressError = true;
  + }
  + if (!suppressError)
  + {
  if (fgErrorDebugLevel[err] > 0)
  AliDebug(fgErrorDebugLevel[err],
  Form("Event %6i: Eq. %2d S %i - %s : %s",
  @@ -2146,6 +2153,7 @@ void AliTRDrawStream::StackError(ErrorCode_t err, const char *const msg, ...)
  AliError(Form("Event %6i: Eq. %2d S %i - %s : %s",
  fRawReader->GetEventIndex(), fCurrEquipmentId, fCurrSlot, fgkErrorMessages[err],
  (va_start(ap, msg), vsprintf(fErrorBuffer, msg, ap), va_end(ap), fErrorBuffer) ));
  + }
  fErrorFlags |= fgErrorBehav[err];
  }
  @@ -2164,6 +2172,14 @@ void AliTRDrawStream::LinkError(ErrorCode_t err, const char *const msg, ...)
  (this->*fStoreError)();
  va_list ap;
  + bool suppressError = false;
  + if (hltOnlineMode)
  + {
  + static int hltErrorCounter = 0;
  + if (hltErrorCounter++ >= 5) suppressError = true;
  + }
  + if (!suppressError)
  + {
  if (fgErrorDebugLevel[err] > 0)
  AliDebug(fgErrorDebugLevel[err],
  Form("Event %6i: Eq. %2d S %i l %2i - %s : %s",
  @@ -2173,6 +2189,7 @@ void AliTRDrawStream::LinkError(ErrorCode_t err, const char *const msg, ...)
  AliError(Form("Event %6i: Eq. %2d S %i l %2i - %s : %s",
  fRawReader->GetEventIndex(), fCurrEquipmentId, fCurrSlot, fCurrLink, fgkErrorMessages[err],
  (va_start(ap, msg), vsprintf(fErrorBuffer, msg, ap), va_end(ap), fErrorBuffer) ));
  + }
  fErrorFlags |= fgErrorBehav[err];
  }
  