empty block generation in AliHLTTPCHWClusterDecoder
authortbreitne <timo.gunther.breitner@cern.ch>
Fri, 30 May 2014 11:05:42 +0000 (13:05 +0200)
committertbreitne <timo.gunther.breitner@cern.ch>
Fri, 30 May 2014 13:09:51 +0000 (15:09 +0200)
needed for testing

HLT/TPCLib/AliHLTTPCHWClusterDecoderComponent.cxx

index b83afe7..4440539 100644 (file)
@@ -315,20 +315,18 @@ int AliHLTTPCHWClusterDecoderComponent::DoEvent(const AliHLTComponentEventData&
          c.SetQMax(cl.GetQMax());        
          outputRaw->fCount++;
        }       
-       
-       // fill into HLT output data
-       AliHLTComponentBlockData bdRawClusters;
-       FillBlockData( bdRawClusters );
-       bdRawClusters.fOffset = size;   
-       bdRawClusters.fSize = sizeof(AliHLTTPCRawClusterData)+outputRaw->fCount*sizeof(AliHLTTPCRawCluster);
-       bdRawClusters.fSpecification = iter->fSpecification;
-       bdRawClusters.fDataType = AliHLTTPCDefinitions::fgkRawClustersDataType | kAliHLTDataOriginTPC;
-       outputBlocks.push_back( bdRawClusters );
-       fBenchmark.AddOutput(bdRawClusters.fSize);
-       size   += bdRawClusters.fSize;
-       outputPtr += bdRawClusters.fSize;
-      }    
-      continue; // HW clusters data block
+      }
+      // fill into HLT output data
+      AliHLTComponentBlockData bdRawClusters;
+      FillBlockData( bdRawClusters );
+      bdRawClusters.fOffset = size;    
+      bdRawClusters.fSize = sizeof(AliHLTTPCRawClusterData)+outputRaw->fCount*sizeof(AliHLTTPCRawCluster);
+      bdRawClusters.fSpecification = iter->fSpecification;
+      bdRawClusters.fDataType = AliHLTTPCDefinitions::fgkRawClustersDataType | kAliHLTDataOriginTPC;
+      outputBlocks.push_back( bdRawClusters );
+      fBenchmark.AddOutput(bdRawClusters.fSize);
+      size   += bdRawClusters.fSize;
+      outputPtr += bdRawClusters.fSize;
     }
 
   } // end of loop over data blocks