]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Minor bug fix in return value from GetOutputDataTypes.
authoraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 11 Aug 2008 11:40:29 +0000 (11:40 +0000)
committeraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 11 Aug 2008 11:40:29 +0000 (11:40 +0000)
HLT/MUON/OfflineInterface/AliHLTMUONRootifierComponent.cxx
HLT/MUON/OnlineAnalysis/AliHLTMUONClusterFinderComponent.cxx
HLT/MUON/OnlineAnalysis/AliHLTMUONDecisionComponent.cxx

index e2f80048b5022059be24e18c90fb81101d8b9788..d9c3aa7f4963af384486075d47018353f8d9b6fe 100644 (file)
@@ -140,7 +140,7 @@ int AliHLTMUONRootifierComponent::GetOutputDataTypes(AliHLTComponentDataTypeList
        /// Inherited from AliHLTComponent. Returns the output data types.
        
        tgtList.push_back(kAliHLTAnyDataType);
-       return 1;
+       return tgtList.size();
 }
 
 
index a4df4ac297a1a3f4cf47e360d865395b8228d54b..b43f3c7a2be85e92bfb4f210e5c5788decdeb2cf 100644 (file)
@@ -122,7 +122,7 @@ int AliHLTMUONClusterFinderComponent::GetOutputDataTypes(AliHLTComponentDataType
        assert( list.empty() );
        list.push_back( AliHLTMUONConstants::ClusterStoreDataType() );
        list.push_back( AliHLTMUONConstants::RecHitsBlockDataType() );
-       return 1;
+       return list.size();
 }
 
 
index a892b68376b40c31bcf68d3cb9bdbba7f3da71b7..d63ea24169b36bdb935140c91c3c6286e50256b4 100644 (file)
@@ -119,7 +119,7 @@ int AliHLTMUONDecisionComponent::GetOutputDataTypes(AliHLTComponentDataTypeList&
        assert( list.empty() );
        list.push_back( AliHLTMUONConstants::SinglesDecisionBlockDataType() );
        list.push_back( AliHLTMUONConstants::PairsDecisionBlockDataType() );
-       return 1;
+       return list.size();
 }