add DCS to Preprocessor LASER
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 16 Jul 2008 18:58:46 +0000 (18:58 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 16 Jul 2008 18:58:46 +0000 (18:58 +0000)
T0/AliT0Preprocessor.cxx

index 249f924..227501a 100644 (file)
@@ -89,7 +89,9 @@ Bool_t AliT0Preprocessor::ProcessDCS(){
        TString runType = GetRunType();
        Log(Form("ProcessDCS - RunType: %s",runType.Data()));
 
-       if((runType == "STANDALONE")||(runType == "PHYSICS")){
+       if((runType == "STANDALONE")||
+          (runType == "PHYSICS")||
+          (runType == "LASER")){
          //            return kFALSE;
                return kTRUE;
        }else{
@@ -300,6 +302,10 @@ UInt_t AliT0Preprocessor::Process(TMap* dcsAliasMap )
        }
        if(runType == "LASER"){
          Int_t iresultLaser = ProcessLaser();
+         if(dcsDP==1){
+            Int_t iresultDCS = ProcessDCSDataPoints(dcsAliasMap);
+            return iresultDCS;
+          }
          Log(Form("iresultLaser = %d",iresultLaser));
          return iresultLaser;
        }