Minor fixes to error messages.
authoraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Jun 2008 15:06:58 +0000 (15:06 +0000)
committeraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 19 Jun 2008 15:06:58 +0000 (15:06 +0000)
HLT/MUON/OnlineAnalysis/AliHLTMUONDecisionComponent.cxx
HLT/MUON/utils/AliHLTMUONDataCheckerComponent.cxx

index af8b697..95ed5d7 100644 (file)
@@ -129,7 +129,7 @@ void AliHLTMUONDecisionComponent::GetOutputDataSize(
        
        constBase = sizeof(AliHLTMUONSinglesDecisionBlockStruct);
        constBase += sizeof(AliHLTMUONPairsDecisionBlockStruct);
-       inputMultiplier = 1;
+       inputMultiplier = 10;
 }
 
 
@@ -421,7 +421,7 @@ int AliHLTMUONDecisionComponent::DoEvent(
        if (not pairsBlock.SetNumberOfEntries(numOfPairs))
        {
                AliHLTUInt32_t bytesneeded = sizeof(AliHLTMUONPairsDecisionBlockWriter::HeaderType)
-                       + fTrackCount * sizeof(AliHLTMUONPairsDecisionBlockWriter::ElementType)
+                       + numOfPairs * sizeof(AliHLTMUONPairsDecisionBlockWriter::ElementType)
                        + singlesBlock.BytesUsed();
                HLTError("The buffer is only %d bytes in size. We need a minimum of"
                        " %d bytes for the pairs output data block.",
index 33cb91c..1214a98 100644 (file)
@@ -848,7 +848,7 @@ bool AliHLTMUONDataCheckerComponent::IsHitCoordinateOk(
                        chamber+1
                );
                result = false;
-               if (Int_t(chNum) < minChamber or maxChamber < Int_t(chNum))
+               if (minChamber <= Int_t(chNum) and Int_t(chNum) <= maxChamber)
                {
                        // Rather use the explicit value in the data if it
                        // is in range.
@@ -967,6 +967,7 @@ bool AliHLTMUONDataCheckerComponent::IsHitCoordinateOk(
                                name,
                                entryNumber,
                                hit.fX, hit.fY, hit.fZ,
+                               detElemId,
                                chamber+1
                        );
                        result = false;