message: fix sigmay2 for corrected clusters. Otherwise it can become negative and the cluster is treated as single pad cluster and compression fails due to weird special treatment of single pad clusters. This is a workaround for now, needs to be investigated how to implement it in hardware
diff: @@ -161,10 +161,9 @@ const AliHLTTPCHWCFCluster *AliHLTTPCHWCFDivisionUnit::OutputStream()
  if (fTagEdgeClusters)
  {
  - if (fkInput->fBorder) fOutput.fRowQ |= (0x1 << 23);
  + if (fkInput->fBorder) fOutput.fRowQ |= (0x1 << 23); //We actually tag with the border flag, because also the clusters at branch borders and interleaved rows have edge effects.
  }
  -
  *((AliHLTFloat32_t*)&fOutput.fP) = (float)fkInput->fP/q;
  *((AliHLTFloat32_t*)&fOutput.fT) = (float)fkInput->fT/q;
  *((AliHLTFloat32_t*)&fOutput.fP2) = (float)fkInput->fP2/q;
  @@ -178,6 +177,9 @@ const AliHLTTPCHWCFCluster *AliHLTTPCHWCFDivisionUnit::OutputStream()
  AliHLTFloat32_t peak = (float)fkInput->fLargestQPad;
  if (cog < 30 ? (cog > peak) : (cog < peak))
  {
  + AliHLTFloat32_t& sigmay = *((AliHLTFloat32_t*)&fOutput.fP2);
  + //printf("Difference %f SHIFTING %f --> %f\n", fabs(peak - cog), cog, peak);
  + sigmay += peak * peak - cog * cog;
  cog = peak;
  }
  }
  