8498bdf5 |
1 | void rec() { |
2 | if (!strcmp(gSystem->GetBuildArch(),"win32gcc")) { |
3 | gSystem->Load("libProof"); |
4 | gSystem->Load("libGui"); |
5 | gROOT->Macro("loadlibsrec.C"); |
6 | new AliRun("gAlice","The ALICE Off-line Simulation Framework"); |
7 | } |
8 | AliReconstruction reco; |
9 | |
10 | reco.SetWriteESDfriend(); |
11 | reco.SetWriteAlignmentData(); |
12 | |
162637e4 |
13 | reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB"); |
8498bdf5 |
14 | reco.SetSpecificStorage("GRP/GRP/Data", |
15 | Form("local://%s",gSystem->pwd())); |
16 | |
8498bdf5 |
17 | TStopwatch timer; |
18 | timer.Start(); |
19 | reco.Run(); |
20 | timer.Stop(); |
21 | timer.Print(); |
22 | } |