X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=HLT%2FTPCLib%2Fcomp%2FAliHLTTPCDataCompressionComponent.cxx;h=51c569d4cee664e7bfe893a663975a0e8edf72d1;hp=eeed6e85e5df34e6d0c2d3d5083b4f60fee24bbb;hb=b960733ad118bdfcf2d7654fe87c1795ee6c077a;hpb=d78f01ff1adf84d01f94ac918af31932d610c773 diff --git a/HLT/TPCLib/comp/AliHLTTPCDataCompressionComponent.cxx b/HLT/TPCLib/comp/AliHLTTPCDataCompressionComponent.cxx index eeed6e85e5d..51c569d4cee 100644 --- a/HLT/TPCLib/comp/AliHLTTPCDataCompressionComponent.cxx +++ b/HLT/TPCLib/comp/AliHLTTPCDataCompressionComponent.cxx @@ -1,6 +1,6 @@ // $Id$ //************************************************************************** -//* This file is property of and copyright by the ALICE HLT Project * +//* This file is property of and copyright by the * //* ALICE Experiment at CERN, All rights reserved. * //* * //* Primary Authors: Matthias Richter * @@ -94,8 +94,8 @@ void AliHLTTPCDataCompressionComponent::GetInputDataTypes( AliHLTComponentDataTy { /// inherited from AliHLTComponent: list of data types in the vector reference tgtList.clear(); - tgtList.push_back(AliHLTTPCDefinitions::fgkHWClustersDataType); - tgtList.push_back(AliHLTTPCDefinitions::fgkClustersDataType); + tgtList.push_back(AliHLTTPCDefinitions::HWClustersDataType()); + tgtList.push_back(AliHLTTPCDefinitions::ClustersDataType()); tgtList.push_back(kAliHLTDataTypeTrack|kAliHLTDataOriginTPC); } @@ -489,7 +489,7 @@ int AliHLTTPCDataCompressionComponent::DoEvent( const AliHLTComponentEventData& else compressionFactor=0.; if (fHistoCompFactor) fHistoCompFactor->Fill(compressionFactor); - if (GetBenchmarkInstance()) { + if (GetBenchmarkInstance() && allClusters>0) { GetBenchmarkInstance()->Stop(0); if (fDeflaterMode!=3) { HLTBenchmark("%s - compression factor %.2f", GetBenchmarkInstance()->GetStatistics(), compressionFactor);