changing return type from Bool_t to expected UInt_t
authordsilverm <dsilverm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 24 Apr 2011 13:04:25 +0000 (13:04 +0000)
committerdsilverm <dsilverm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 24 Apr 2011 13:04:25 +0000 (13:04 +0000)
EMCAL/AliEMCALPreprocessor.cxx

index d25ca57..e848fee 100644 (file)
@@ -318,6 +318,7 @@ UInt_t AliEMCALPreprocessor::MapTemperature(TMap* dcsAliasMap)
     
     Bool_t storeOK = Store("Calib", "Temperature", fTemp, &metaData, 0, kFALSE);
     if ( !storeOK )  result=1;
+    AliInfo(Form("Temperature info stored. result %d\n", result));
   }
   
   return result;
@@ -438,9 +439,12 @@ UInt_t AliEMCALPreprocessor::MapTriggerConfig(TMap* dcsAliasMap)
   metaData.SetResponsible(kMetaResponsible);
   metaData.SetComment(kMetaComment); 
       
-  Bool_t retCode = Store("Calib", "Trigger", trigConfig, &metaData, 0, kFALSE);
-  AliInfo(Form("TRU info stored.\n"));
-  return retCode;
+  UInt_t result=0;
+  Bool_t storeOK = Store("Calib", "Trigger", trigConfig, &metaData, 0, kFALSE);
+  if ( !storeOK )  result=1;
+  AliInfo(Form("TRU info stored. result %d\n", result));
+
+  return result;
 }
 
 //______________________________________________________________________________________________