* recraw-local.C'("raw://run12345")'
* recraw-local.C'("raw://run12345", minEvent, MaxEvent)'
* recraw-local.C'("raw.root", "local://$PWD", minEvent, MaxEvent)'
+ * recraw-local.C'("10000135031045.10..root", "raw://", -1, -1)'
+ * recraw-local.C'("alien:///alice/data/2010/LHC10f/000135031/raw/10000135031045.10.root", "raw://", -1, -1)'
*
* Defaults
* cdb="raw://" -> take OCDB from GRID
int minEvent=-1,
int maxEvent=-1,
const char *modules="ALL",
- const char *hltOptions="loglevel=0x7c")
+ const char *hltOptions="loglevel=0x7c",
+ const char *cdbDrain=NULL)
{
+ 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;
man->SetSpecificStorage("GRP/GRP/Data", "local://$PWD/..");
}
}
+ if (cdbDrain) man->SetDrain(cdbDrain);
// Reconstruction settings
AliReconstruction rec;