From: marian Date: Fri, 2 Oct 2009 13:35:43 +0000 (+0000) Subject: Skip the corrupted files in the train X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=ac6d8ff3b14b9d9357045339542ba1e3ee7ba520 Skip the corrupted files in the train gEnv->SetValue("TFile.Recover", 0); (Marian) --- diff --git a/TPC/macros/CalibrateTPC.C b/TPC/macros/CalibrateTPC.C index 24f1b36f4a4..b1858d4eaae 100644 --- a/TPC/macros/CalibrateTPC.C +++ b/TPC/macros/CalibrateTPC.C @@ -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"); }