From: ivana Date: Thu, 8 Nov 2007 09:08:42 +0000 (+0000) Subject: Corrected return value in case of storage-to-OCDB failure. X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=d08fea6791f32e6e48cbcc6494018612da88d1fb;p=u%2Fmrichter%2FAliRoot.git Corrected return value in case of storage-to-OCDB failure. (Laurent) --- diff --git a/MUON/AliMUONTriggerSubprocessor.cxx b/MUON/AliMUONTriggerSubprocessor.cxx index a0b74aed6ae..270ac78dffb 100644 --- a/MUON/AliMUONTriggerSubprocessor.cxx +++ b/MUON/AliMUONTriggerSubprocessor.cxx @@ -172,10 +172,11 @@ AliMUONTriggerSubprocessor::Process(TMap* /*dcsAliasMap*/) return 0; } - Master()->Log(Form("N global = %d N regional = %d N local %d", + Master()->Log(Form("N global = %d N regional = %d N local %d N lut %d", (fGlobalMasks ? 1 : 0 ), (fRegionalMasks ? fRegionalMasks->GetSize() : 0 ), - (fLocalMasks ? fLocalMasks->GetSize() : 0 ))); + (fLocalMasks ? fLocalMasks->GetSize() : 0 ), + (fLUT ? 1 : 0))); AliCDBMetaData metaData; metaData.SetBeamPeriod(0); @@ -213,5 +214,5 @@ AliMUONTriggerSubprocessor::Process(TMap* /*dcsAliasMap*/) &metaData, 0, validToInfinity); } - return ( result1 != kTRUE && result2 != kTRUE && result3 != kTRUE && result4 != kTRUE ); // return 0 if everything is ok. + return ( result1 != kTRUE || result2 != kTRUE || result3 != kTRUE || result4 != kTRUE ); // return 0 if everything is ok. }