]>
Commit | Line | Data |
---|---|---|
556b741c | 1 | void rec() { |
b69620f8 | 2 | |
3 | // AliLog::SetClassDebugLevel("AliReconstruction",1); | |
4 | AliLog::SetClassDebugLevel("AliITSUReconstructor",1); | |
556b741c | 5 | |
6 | TDatime t; | |
7 | ||
8 | gSystem->Load("libITSUpgradeBase.so"); | |
9 | gSystem->Load("libITSUpgradeRec.so"); | |
10 | ||
11 | gSystem->Exec("rm -rf *RecPoints* AliESD*"); | |
556b741c | 12 | |
b69620f8 | 13 | // Set ITS upgrade reconstructor |
14 | gPluginMgr->AddHandler("AliReconstructor", "*", | |
15 | "AliITSUReconstructor","ITS", "AliITSUReconstructor()"); | |
16 | ||
556b741c | 17 | AliReconstruction rec; |
b69620f8 | 18 | |
19 | rec.SetRunReconstruction("ITS"); // run cluster finder | |
20 | rec.SetRunTracking(""); // Turn on with ITS when tracker is implemented | |
21 | ||
22 | rec.SetRunVertexFinder(kFALSE); // to be implemented - CreateVertexer | |
23 | rec.SetRunMultFinder(kFALSE); // to be implemented - CreateMultFinder | |
24 | rec.SetRunPlaneEff(kFALSE); // to be implemented - CreateTrackleter | |
25 | ||
26 | // rec.SetDefaultStorage("local://$ALICE_ROOT/OCDB"); | |
556b741c | 27 | rec.SetSpecificStorage("GRP/GRP/Data", |
28 | Form("local://%s",gSystem->pwd())); | |
b69620f8 | 29 | rec.SetSpecificStorage("ITS/Align/Data", |
30 | Form("local://%s",gSystem->pwd())); | |
31 | ||
32 | ||
556b741c | 33 | rec.SetRunQA(":"); |
34 | rec.SetRunGlobalQA(0); | |
35 | AliLog::Flush(); | |
36 | ||
37 | TStopwatch timer; | |
38 | timer.Start(); | |
39 | rec.Run(); | |
40 | timer.Stop(); | |
41 | timer.Print(); | |
42 | ||
43 | printf("\n\n\n TDatime \n"); | |
44 | ||
45 | t.Print(); | |
46 | t.Set(); | |
47 | t.Print(); | |
48 | } |