From 6ba884201b9de2d31659e16e6eef35767548ad03 Mon Sep 17 00:00:00 2001 From: richterm Date: Wed, 27 Apr 2011 18:42:20 +0000 Subject: [PATCH] checking existence of galice.root and require to delete the file --- HLT/exa/recraw-local.C | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/HLT/exa/recraw-local.C b/HLT/exa/recraw-local.C index 17179d9d5b1..008a6167f17 100644 --- a/HLT/exa/recraw-local.C +++ b/HLT/exa/recraw-local.C @@ -63,6 +63,12 @@ void recraw_local(const char *filename, const char *modules="ALL", const char *hltOptions="loglevel=0x7c") { + if(!gSystem->AccessPathName("galice.root")){ + cerr << "AliReconstruction on raw data requires to delete galice.root, or run at different place." << endl; + cerr << "!!! DO NOT DELETE the galice.root of your simulation, but create a subfolder !!!!" << endl; + return; + } + // connect to the GRID if we use a file or OCDB from the GRID TString struri=cdbURI; TString strfile=filename; -- 2.43.0