Working on the electron cut
[u/mrichter/AliRoot.git] / prod / LHC08d6 / sim.C
1 void sim(Int_t nev=1) {
2
3   AliSimulation simu;
4   simu.SetDefaultStorage("alien://Folder=/alice/simulation/2008/v4-15-Release/Ideal/?cacheFold=/tmp/CDBCache?operateDisconnected=kFALSE");
5
6   // No write access to the OCDB => specific storage
7   simu.SetSpecificStorage("GRP/GRP/Data",
8                           Form("local://%s",gSystem->pwd()));
9
10
11   TStopwatch timer;
12   timer.Start();
13   simu.Run(nev);
14   timer.Stop();
15   timer.Print();
16 }