- Int_t procPID = gSystem->GetPid();
- TString logFile = Form("%s/reco/log/run%d_%d.log",
- gSystem->Getenv("ONLINERECO_BASE_DIR"),
- run,
- (Int_t)procPID);
- Info("DoStart","Reconstruction log will be written to %s",logFile.Data());
- gSystem->RedirectOutput(logFile.Data());
-
- gSystem->cd(Form("%s/reco",gSystem->Getenv("ONLINERECO_BASE_DIR")));
-
- TString gdcs;
- if (RetrieveGRP(run,gdcs) <= 0 || gdcs.IsNull())
- gSystem->Exit(1);
-
- gSystem->Setenv("DATE_RUN_NUMBER", Form("%d", run));
- // Setting CDB
-// AliCDBManager * man = AliCDBManager::Instance();
-// man->SetDefaultStorage("local:///local/cdb");
-// man->SetSpecificStorage("GRP/GRP/Data",
-// Form("local://%s",gSystem->pwd()));
-// man->SetSpecificStorage("GRP/CTP/Config",
-// Form("local://%s",gSystem->pwd()));
-// man->SetSpecificStorage("ACORDE/Align/Data",
-// "local://$ALICE_ROOT/OCDB");
-
- gSystem->mkdir(Form("run%d_%d", run, (Int_t)procPID));
- gSystem->cd(Form("run%d_%d", run, (Int_t)procPID));
-
- TString recMacroPath(gSystem->Getenv("ONLINERECO_MACRO"));
- if (recMacroPath.IsNull()) {
- recMacroPath = "$ALICE_ROOT/MONITOR/rec.C";
- }
-
- s = execlp("alieve",
- "alieve",
- "-q",
- Form("%s(\"mem://@*:\")", gSystem->ExpandPathName(recMacroPath.Data())),
- (char*) 0);
-
- gSystem->Exec(Form("rm -rf %s/reco/run%d_%d",gSystem->Getenv("ONLINERECO_BASE_DIR"),run,(Int_t)procPID));
+ Int_t procPID = gSystem->GetPid();
+ TString logFile = Form("%s/reco/log/run%d_%d.log",
+ gSystem->Getenv("ONLINERECO_BASE_DIR"),
+ run,
+ (Int_t)procPID);
+ Info("DoStart","Reconstruction log will be written to %s",logFile.Data());
+ gSystem->RedirectOutput(logFile.Data());
+
+ gSystem->cd(Form("%s/reco",gSystem->Getenv("ONLINERECO_BASE_DIR")));
+
+ TString gdcs;
+ if (RetrieveGRP(run,gdcs) <= 0 || gdcs.IsNull())
+ gSystem->Exit(1);
+
+ gSystem->Setenv("DATE_RUN_NUMBER", Form("%d", run));
+ // Setting CDB
+ // AliCDBManager * man = AliCDBManager::Instance();
+ // man->SetDefaultStorage("local:///local/cdb");
+ // man->SetSpecificStorage("GRP/GRP/Data",
+ // Form("local://%s",gSystem->pwd()));
+ // man->SetSpecificStorage("GRP/CTP/Config",
+ // Form("local://%s",gSystem->pwd()));
+ // man->SetSpecificStorage("ACORDE/Align/Data",
+ // "local://$ALICE_ROOT/OCDB");
+
+ gSystem->mkdir(Form("run%d_%d", run, (Int_t)procPID));
+ gSystem->cd(Form("run%d_%d", run, (Int_t)procPID));
+
+ TString recMacroPath(gSystem->Getenv("ONLINERECO_MACRO"));
+ if (recMacroPath.IsNull()) {
+ recMacroPath = "$ALICE_ROOT/MONITOR/rec.C";
+ }
+
+ s = execlp("alieve",
+ "alieve",
+ "-q",
+ Form("%s(\"mem://@*:\")", gSystem->ExpandPathName(recMacroPath.Data())),
+ (char*) 0);
+
+ gSystem->Exec(Form("rm -rf %s/reco/run%d_%d",gSystem->Getenv("ONLINERECO_BASE_DIR"),run,(Int_t)procPID));