From 8a9e21f6b4f667936b04783e21813fa0d47b4306 Mon Sep 17 00:00:00 2001 From: aszostak Date: Thu, 19 Jun 2008 15:06:58 +0000 Subject: [PATCH] Minor fixes to error messages. --- HLT/MUON/OnlineAnalysis/AliHLTMUONDecisionComponent.cxx | 4 ++-- HLT/MUON/utils/AliHLTMUONDataCheckerComponent.cxx | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/HLT/MUON/OnlineAnalysis/AliHLTMUONDecisionComponent.cxx b/HLT/MUON/OnlineAnalysis/AliHLTMUONDecisionComponent.cxx index af8b697053a..95ed5d730f0 100644 --- a/HLT/MUON/OnlineAnalysis/AliHLTMUONDecisionComponent.cxx +++ b/HLT/MUON/OnlineAnalysis/AliHLTMUONDecisionComponent.cxx @@ -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.", diff --git a/HLT/MUON/utils/AliHLTMUONDataCheckerComponent.cxx b/HLT/MUON/utils/AliHLTMUONDataCheckerComponent.cxx index 33cb91cc740..1214a984a0e 100644 --- a/HLT/MUON/utils/AliHLTMUONDataCheckerComponent.cxx +++ b/HLT/MUON/utils/AliHLTMUONDataCheckerComponent.cxx @@ -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; -- 2.43.5