]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
bugfix: redirecting the const base per event instead of the const base per block...
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 7 Aug 2009 14:44:18 +0000 (14:44 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 7 Aug 2009 14:44:18 +0000 (14:44 +0000)
Originally only one constBase parameter was foreseen in the interface which should give the number of bytes required in
the output buffer independent of the inout size. This has been changed to two parameters in r27692, one parameter
per event and one per block. The AliHLTComponent interface, though had not been changed and the wrong parameter
was passed onto the interface. This created trouble when having many input blocks.

HLT/BASE/interface/AliHLTExternalInterface.cxx

index 1e80e5f901497f71283e0446f6e2588ff5b9a967..5c38739f981bb7f99a6f38d0b480aeae26b79f20 100644 (file)
@@ -188,8 +188,8 @@ int AliHLTAnalysisGetOutputSize( AliHLTComponentHandle handle, unsigned long* co
   AliHLTComponent* comp = reinterpret_cast<AliHLTComponent*>( handle );
   if (!comp) return ENXIO;
   // TODO: extend component interface
-  if (constEventBase) *constEventBase=0;
-  comp->GetOutputDataSize( *constBlockBase, *inputBlockMultiplier );
+  if (constBlockBase) *constBlockBase=0;
+  comp->GetOutputDataSize( *constEventBase, *inputBlockMultiplier );
   return 0;
 }