]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Skip the corrupted files in the train
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 2 Oct 2009 13:35:43 +0000 (13:35 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 2 Oct 2009 13:35:43 +0000 (13:35 +0000)
 gEnv->SetValue("TFile.Recover", 0);

(Marian)

TPC/macros/CalibrateTPC.C

index 24f1b36f4a4fac9979e0b35a09e088d180cf20b3..b1858d4eaae283646eef1b70c9f8c2c3cf5ea408 100644 (file)
@@ -412,8 +412,10 @@ void SetupCalibTask(TObject* task1){
 void CalibrateTPC(Int_t first, Int_t last, Int_t run, const char*closeSE="ALICE::GSI::SE"){
   gSystem->Load("libANALYSIS");
   gSystem->Load("libTPCcalib");
+  gEnv->SetValue("TFile.Recover", 0);  // dont try to recover anything
   gSystem->Setenv("alien_CLOSE_SE",closeSE);
   TGrid * alien =     TGrid::Connect("alien://",0,0,"t"); 
+  gSystem->Exec("touch nonOK");
   gSystem->Exec("rm -f isOK");
   gROOT->Macro(Form("ConfigOCDB.C\(%d\)",run));
   //
@@ -435,5 +437,5 @@ void CalibrateTPC(Int_t first, Int_t last, Int_t run, const char*closeSE="ALICE:
   mgr->SetDebugLevel(1);
   mgr->StartAnalysis("local",chain);
   gSystem->Exec("touch isOK");
-  
+  gSystem->Exec("rm -f nonOK");
 }