reco.SetSpecificStorage("GRP/GRP/Data",Form("local://%s",gSystem->pwd()));
// MUON Tracker Residual Alignment
- reco.SetSpecificStorage("MUON/Align/Data","alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
+ reco.SetSpecificStorage("MUON/Align/Data",VAR_REC_ALIGNDATA);
reco.Run();
}
if ( ! VAR_PURELY_LOCAL ) {
// MUON Tracker
- simulator.SetSpecificStorage("MUON/Align/Data","alien://folder=/alice/simulation/2008/v4-15-Release/Ideal");
+ simulator.SetSpecificStorage("MUON/Align/Data",VAR_SIM_ALIGNDATA);
// Mag.field from OCDB
simulator.UseMagFieldFromGRP();
SetVar("VAR_PURELY_LOCAL",Form("%d",localOnly));
+ SetVar("VAR_SIM_ALIGNDATA","\"alien://folder=/alice/simulation/2008/v4-15-Release/Ideal\"");
+
+ SetVar("VAR_REC_ALIGNDATA","\"alien://folder=/alice/simulation/2008/v4-15-Release/Residual\"");
+
UseOCDBSnapshots(fUseOCDBSnapshots);
SetGenerator(generator);
AliError("Please fix the number of input events using MakeNofEventsFixed()");
return 0;
}
+
+ const std::vector<int>& runs = RunList();
std::cout << "Generating script to execute : ./simrun.sh" << std::endl;
out << "#!/bin/bash" << std::endl;
// root.exe -b -q simrun.C --run <x> --chunk <y> --event <n>
- out << "root.exe -b -q simrun.C --run 0 --event " << fFixedNofEvents << std::endl;
+ out << "root.exe -b -q simrun.C --run "<< runs[0] <<" --event " << fFixedNofEvents << std::endl;
gSystem->Exec("chmod +x simrun.sh");