]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
fatal error in case of HLT TPC cluster decoding problems
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 23 Jan 2012 09:08:23 +0000 (09:08 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 23 Jan 2012 09:08:23 +0000 (09:08 +0000)
HLT/TPCLib/AliHLTTPCClusterAccessHLTOUT.cxx

index 281fec29bd6e6bddfce48b8eafc12b11cb0d72aa..0889a1b6dab719706f6fb10d774a2d98466d137b 100644 (file)
@@ -277,7 +277,10 @@ int AliHLTTPCClusterAccessHLTOUT::ProcessClusters(const char* params)
                                            reinterpret_cast<AliHLTUInt8_t*>(desc.fPtr),
                                            desc.fSize,
                                            desc.fSpecification);
-      if (iResult>0) nExtractedClusters+=iResult;
+      if (iResult>=0) nExtractedClusters+=iResult;
+      else {
+       AliFatal(Form("processing of cluster block 0x%08x failed with error code %d", desc.fSpecification, iResult));
+      }
       unsigned index=slice*AliHLTTPCTransform::GetNumberOfPatches()+partition;
       if (index>=bHavePartitionData.size()) bHavePartitionData.resize(index, false);
       if (bHavePartitionData[index]) {