]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/UserTasks/PHOS_embedding/rec.C
Event embedding tasks for PHOS are added (D.Peressounko)
[u/mrichter/AliRoot.git] / PWG4 / UserTasks / PHOS_embedding / rec.C
1 void rec() {
2
3   AliReconstruction reco;
4
5 //
6 // switch off cleanESD, write ESDfriends and Alignment data
7   
8 //  reco.SetCleanESD(kFALSE);
9 //  reco.SetWriteESDfriend();
10 //  reco.SetWriteAlignmentData();
11     reco.SetRunVertexFinder(kFALSE) ;
12     reco.SetRunV0Finder(kFALSE) ;
13     reco.SetRunMultFinder(kFALSE) ;
14
15    AliQAManager::QAManager(AliQAv1::kSIMMODE) ;
16
17 //
18 // ITS Efficiency and tracking errors
19
20 //
21 // Residual OCDB
22
23   reco.SetDefaultStorage("alien://folder=/alice/data/2010/OCDB");
24 //  reco.SetDefaultStorage("local://./OCDB");
25   reco.SetSpecificStorage("PHOS/*/*","local://./OCDB");
26
27
28 //  reco.SetRunReconstruction("PHOS EMCAL") ;
29   reco.SetRunReconstruction("PHOS") ;
30   reco.SetRunQA(":") ;
31   reco.SetRunGlobalQA(kFALSE) ;
32 //
33 // GRP from local OCDB
34
35  reco.SetSpecificStorage("GRP/GRP/Data",
36                           Form("local://%s",gSystem->pwd()));
37 //  reco.SetSpecificStorage("GRP/GRP/Data", "alien://Folder=/alice/data/2010/OCDB");
38
39
40 //
41   TStopwatch timer;
42   timer.Start();
43   reco.Run();
44   timer.Stop();
45   timer.Print();
46 }