]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Implementation the function AliTRDPreprocessor::ProcessDCS()
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 5 Oct 2007 09:24:35 +0000 (09:24 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 5 Oct 2007 09:24:35 +0000 (09:24 +0000)
TRD/AliTRDPreprocessor.cxx
TRD/AliTRDPreprocessor.h

index d97a072ccaea2f62c8404cac5cb951a7b9af64cc..90a3334ce81d41556991747125a5af34a9e90a66 100644 (file)
@@ -99,22 +99,18 @@ UInt_t AliTRDPreprocessor::Process(TMap* dcsAliasMap)
     return 0;
   } 
 
-  //
-  // DCS
-  //
-  
-  if(ProcessDCS(dcsAliasMap)) return 1;
-
-  //
-  // Process the calibration data for the HLT and DAQ part
-  //
   
   if (runType=="PHYSICS"){
-    //TString runPar = GetRunParameter("HLTStatus")
+    // DCS
+    if(ProcessDCS(dcsAliasMap)) return 1;
+    // HLT if On
+    //TString runPar = GetRunParameter("HLTStatus");
     //if(runPar=="1") {
-    if(ExtractHLT()) return 1;
-    //if (fResult > 0) return fResult;
-    //} 
+    if(GetHLTStatus()) {
+      if(ExtractHLT()) return 1;
+    } 
+    // DAQ if HLT failed
     if(!fVdriftHLT) {
       if(ExtractDriftVelocityDAQ()) return 1;
     }
@@ -122,6 +118,16 @@ UInt_t AliTRDPreprocessor::Process(TMap* dcsAliasMap)
   
   return 0;  
   
+}
+//______________________________________________________________________________
+Bool_t AliTRDPreprocessor::ProcessDCS()
+{
+
+  TString runType = GetRunType();
+  if(runType == "PHYSICS") return kTRUE;
+
+  return kFALSE;
+
 }
 
 //______________________________________________________________________________
@@ -484,7 +490,7 @@ Bool_t AliTRDPreprocessor::ExtractHLT()
 {
   //
   // Gain, vdrift and PRF calibration running on HLT
-  // return kFALSE if NULL pointer to the list
+  // return kTRUE if NULL pointer to the list
   //
 
   Bool_t error = kFALSE;
index b9458066c97c3eae929d8811910b115c16e1ecc9..a1e59fa9b30674e77538f8705a7d7d97e5c1f9c1 100644 (file)
@@ -33,7 +33,7 @@ class AliTRDPreprocessor : public AliPreprocessor
     Bool_t  ExtractPedestals();
     Bool_t  ExtractDriftVelocityDAQ();
     Bool_t  ExtractHLT();
-    Bool_t  ProcessDCS() { return kFALSE; };
+    Bool_t  ProcessDCS();
     Bool_t  ProcessDCS(TMap *dcsAliasMap);
 
   private: