Test suite for beam-beam pileup simulation. The meaning of the settings and some...
[u/mrichter/AliRoot.git] / test / pileup / rec.C
CommitLineData
8498bdf5 1void 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
13 reco.SetDefaultStorage("local://$ALICE_ROOT");
14 reco.SetSpecificStorage("GRP/GRP/Data",
15 Form("local://%s",gSystem->pwd()));
16
17 AliGRPRecoParam *grpRecoParam = AliGRPRecoParam::GetLowFluxParam();
18 grpRecoParam->SetVertexerTracksConstraintITS(kFALSE);
19 grpRecoParam->SetVertexerTracksConstraintTPC(kFALSE);
20 reco.SetRecoParam("GRP",grpRecoParam);
21
22 TStopwatch timer;
23 timer.Start();
24 reco.Run();
25 timer.Stop();
26 timer.Print();
27}