]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/AliHLTOUTHandlerChain.cxx
bugfix: corrected misleading warning messages; ignore ComponentStatistics data blocks...
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTOUTHandlerChain.cxx
index 954e2a281d0bb01bb7d52321eca4850e0c3e117c..66a015340e6dd0f61db392d5cb00206dab83014f 100644 (file)
@@ -102,6 +102,22 @@ int AliHLTOUTHandlerChain::ProcessData(AliHLTOUT* pData)
       // parent HLTOUT collection
       AliHLTOUT* pSubCollection=dynamic_cast<AliHLTOUT*>(fpTask);
       pSubCollection->Init();
+
+      // filter out some data blocks which should not be processed
+      // in the next stage:
+      // 1. we are not interested in the component statistics
+      //    produced in the HLTOUT handler chain
+      for (iResult=pSubCollection->SelectFirstDataBlock();
+          iResult>=0;
+          iResult=pSubCollection->SelectNextDataBlock()) {
+       AliHLTComponentDataType dt=kAliHLTVoidDataType;
+       AliHLTUInt32_t spec=kAliHLTVoidDataSpec;
+       pSubCollection->GetDataBlockDescription(dt, spec);
+       if (dt==kAliHLTDataTypeComponentStatistics) {
+         pSubCollection->MarkDataBlockProcessed();
+       }
+      }
+      
       pData->AddSubCollection(pSubCollection);
     } else {
       fpTask->Reset();