]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Always return error messages if not successful
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 13 Jul 2009 14:28:05 +0000 (14:28 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 13 Jul 2009 14:28:05 +0000 (14:28 +0000)
TRD/AliTRDPreprocessor.cxx

index 0d88a0c35d4e7d2ef63cc1785dc8fa62b609e747..12f48a4526d9d5723087cafc43b590b8d3107ada 100644 (file)
@@ -108,7 +108,7 @@ UInt_t AliTRDPreprocessor::Process(TMap* dcsAliasMap)
   Log(Form("runtype %s\n",runType.Data()));
   
   // always process the configuration data
-  /*  Int_t resultDCSC = */ProcessDCSConfigData(); // for testing!
+ if(ProcessDCSConfigData()) return 1; 
   
   if (runType=="PEDESTAL"){
     if(ExtractPedestals()) return 1;
@@ -117,17 +117,17 @@ UInt_t AliTRDPreprocessor::Process(TMap* dcsAliasMap)
 
   if ((runType=="PHYSICS") || (runType=="STANDALONE") || (runType=="DAQ")){
     // DCS
-    /*if(*/ProcessDCS(dcsAliasMap)/*) return 1*/; // for testing!
+    if(ProcessDCS(dcsAliasMap)) return 1; 
     if(runType=="PHYSICS"){
       // HLT if On
       //TString runPar = GetRunParameter("HLTStatus");
       //if(runPar=="1") {
       if(GetHLTStatus()) {
-       /*if(*/ExtractHLT()/*) return 1*/; // for testing!
+       if(ExtractHLT()) return 1; // for testing!
       } 
       // DAQ if HLT failed
       if(!fVdriftHLT) {
-       /*if(*/ExtractDriftVelocityDAQ()/*) return 1*/; // for testing!
+       if(ExtractDriftVelocityDAQ()) return 1; // for testing!
       }
     }
   }
@@ -1017,4 +1017,3 @@ UInt_t AliTRDPreprocessor::ProcessDCSConfigData()
   Log("Processing of the DCS config summary file DONE.");  
   return 0;
 }
-