]>
Commit | Line | Data |
---|---|---|
2858736f | 1 | void rec(Int_t embrun=0) {\r |
ae8c1d56 | 2 | // new AliRun("gAlice","The ALICE Off-line Simulation Framework");\r |
2858736f | 3 | AliReconstruction reco;\r |
2858736f | 4 | reco.SetWriteESDfriend(kTRUE);\r |
5 | reco.SetWriteAlignmentData(kFALSE);\r | |
ae8c1d56 | 6 | // reco.SetRecoParam("ITS",AliITSRecoParam::GetHighFluxParam());\r |
7 | // reco.SetRecoParam("TPC",AliTPCRecoParam::GetHighFluxParam());\r | |
8 | // reco.SetRecoParam("TRD",AliTRDrecoParam::GetHighFluxParam());\r | |
9 | // reco.SetRecoParam("PHOS",AliPHOSRecoParam::GetDefaultParameters());\r | |
10 | // reco.SetRecoParam("MUON",AliMUONRecoParam::GetHighFluxParam());\r | |
11 | \r | |
12 | // AliTPCRecoParam * tpcRecoParam = AliTPCRecoParam::GetLowFluxParam();\r | |
13 | // AliTPCReconstructor::SetRecoParam(tpcRecoParam);\r | |
14 | // AliTPCReconstructor::SetStreamLevel(0);\r | |
16230f4a | 15 | reco.SetRunReconstruction("ITS TPC TRD TOF VZERO");\r |
ae8c1d56 | 16 | // reco.SetDefaultStorage("alien://Folder=/alice/simulation/2008/v4-15-Release/Ideal/");\r |
17 | // reco.SetRunQA(kFALSE);\r | |
18 | // reco.SetRunGlobalQA(kFALSE);\r | |
2858736f | 19 | \r |
ae8c1d56 | 20 | reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB");\r |
21 | if (embrun == 1) {\r | |
22 | reco.SetSpecificStorage("GRP/GRP/Data",\r | |
23 | Form("local://%s/../BackgroundFull",gSystem->pwd()));\r | |
24 | }\r | |
25 | else {\r | |
26 | reco.SetSpecificStorage("GRP/GRP/Data",\r | |
27 | Form("local://%s",gSystem->pwd()));\r | |
28 | }\r | |
b5688f53 | 29 | reco.SetRunPlaneEff(kTRUE);\r |
ae8c1d56 | 30 | reco.SetRunQA("ALL:ALL") ;\r |
31 | \r | |
32 | AliQA::SetQARefStorage("local://$ALICE_ROOT/OCDB") ;\r | |
33 | \r | |
34 | for (Int_t det = 0 ; det < AliQA::kNDET ; det++) {\r | |
35 | reco.SetQACycles(det, 999) ;\r | |
36 | reco.SetQAWriteExpert(det) ; \r | |
37 | }\r | |
38 | \r | |
2858736f | 39 | TStopwatch timer;\r |
40 | timer.Start();\r | |
41 | reco.Run();\r | |
42 | timer.Stop();\r | |
43 | timer.Print();\r | |
44 | }\r |