X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HLT%2FBASE%2FAliHLTOUTHandlerChain.cxx;h=66a015340e6dd0f61db392d5cb00206dab83014f;hb=f75868b38db04459a02838bb8f5611ec256fe2f1;hp=954e2a281d0bb01bb7d52321eca4850e0c3e117c;hpb=febeb70510252670d2e619e0a9857485682f3d97;p=u%2Fmrichter%2FAliRoot.git diff --git a/HLT/BASE/AliHLTOUTHandlerChain.cxx b/HLT/BASE/AliHLTOUTHandlerChain.cxx index 954e2a281d0..66a015340e6 100644 --- a/HLT/BASE/AliHLTOUTHandlerChain.cxx +++ b/HLT/BASE/AliHLTOUTHandlerChain.cxx @@ -102,6 +102,22 @@ int AliHLTOUTHandlerChain::ProcessData(AliHLTOUT* pData) // parent HLTOUT collection AliHLTOUT* pSubCollection=dynamic_cast(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();