]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - T0/AliT0Preprocessor.cxx
Handle friend chain name in GetChainForTestMode
[u/mrichter/AliRoot.git] / T0 / AliT0Preprocessor.cxx
index 613f6990e56926a6ca5b9d40eb1999805e3b2eaa..d19dc2ca74b7026de36e7e805f07c17fc2a48453 100644 (file)
@@ -91,15 +91,11 @@ Bool_t AliT0Preprocessor::ProcessDCS(){
        TString runType = GetRunType();
        Log(Form("ProcessDCS - RunType: %s",runType.Data()));
 
-       if((runType == "STANDALONE")||
-          (runType == "PHYSICS") 
-          || (runType == "AMPLITUDE_CALIBRATION")){
-
-         //      return kFALSE;
-               return kTRUE;
-       }else{
-       return kFALSE;
-       }
+       if(runType == "PHYSICS" )
+         return kTRUE;
+       else
+         return kFALSE;
+       
 }
 //____________________________________________________
 
@@ -148,9 +144,9 @@ UInt_t AliT0Preprocessor::ProcessLaser()
   Bool_t resultLaser = kFALSE;
   Bool_t writeok = kFALSE;
   //processing DAQ
-  TObjString *source;
   TList* list = GetFileSources(kDAQ, "AMPLITUDE_CALIBRATION");
   AliT0CalibWalk *laser = new AliT0CalibWalk();
+  TObjString *source;
   if (list)
     {
       TIter iter(list);
@@ -171,7 +167,7 @@ UInt_t AliT0Preprocessor::ProcessLaser()
       metaData.SetComment("Walk correction from laser runs.");
       if (writeok) resultLaser=Store("Calib","Slewing_Walk", laser, &metaData, 0, 1);
       else {
-       
+       
        Log(Form("writeok = %d no peaks in CFD spectra",writeok));
        return 0;
       }                  
@@ -184,7 +180,7 @@ UInt_t AliT0Preprocessor::ProcessLaser()
     }
   else
     {
-      Log(Form("Could not find file with Id  AMPLITUDE_CALIBRAION in source %s!", source->GetName()));
+      Log(Form("Could not find file with Id  AMPLITUDE_CALIBRAION "));
       return 1;
     }