]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
avoid warning for the default HLT simulation
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 May 2009 11:09:15 +0000 (11:09 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 14 May 2009 11:09:15 +0000 (11:09 +0000)
- changed default output data type of BlockFilter component from
  'Void' to 'Any'
- bugfix in AliHLTComponent: handle component output type
  kAliHLTAnyDataType correctly

HLT/BASE/AliHLTComponent.cxx
HLT/BASE/util/AliHLTBlockFilterComponent.cxx

index b7b8d4f85b6ca3545d5f007cb5efb5178040cc18..f5b2902e0c33905b538c94e22151242e2cdbf01f 100644 (file)
@@ -588,7 +588,7 @@ int AliHLTComponent::FindMatchingDataTypes(AliHLTComponent* pConsumer, AliHLTCom
     AliHLTComponentDataTypeList itypes;
     AliHLTComponentDataTypeList otypes;
     otypes.push_back(GetOutputDataType());
-    if (otypes[0]==kAliHLTMultipleDataType) {
+    if (MatchExactly(otypes[0],kAliHLTMultipleDataType)) {
       otypes.clear();
       int count=0;
       if ((count=GetOutputDataTypes(otypes))>0) {
index 2a9ea708c7b404a6a1efa555c56aee5835f5889d..f38102b9f7b732358f5532aafc0e1726e7ca31e1 100644 (file)
@@ -56,7 +56,7 @@ AliHLTComponentDataType AliHLTBlockFilterComponent::GetOutputDataType()
 {
   // see header file for class documentation
   if (fFilterRules.size()==1) return fFilterRules[0].fDataType;
-  if (fFilterRules.size()==0) return kAliHLTVoidDataType;
+  if (fFilterRules.size()==0) return kAliHLTAnyDataType;
   return kAliHLTMultipleDataType;
 }