]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Corrected return value in case of storage-to-OCDB failure.
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 8 Nov 2007 09:08:42 +0000 (09:08 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 8 Nov 2007 09:08:42 +0000 (09:08 +0000)
(Laurent)

MUON/AliMUONTriggerSubprocessor.cxx

index a0b74aed6ae2198944b30e010bf12bef23664e37..270ac78dffb4aa92c56644fd25139022d359764e 100644 (file)
@@ -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.  
 }