Working on the electron cut
[u/mrichter/AliRoot.git] / prod / LHC09d1 / rec.C
1 void rec() {\r
2 \r
3   AliReconstruction reco;\r
4   \r
5   reco.SetWriteESDfriend();\r
6   reco.SetWriteAlignmentData();\r
7 \r
8   reco.SetDefaultStorage("alien://Folder=/alice/simulation/2008/v4-15-Release/Residual/");\r
9 //   reco.SetSpecificStorage("GRP/GRP/Data",\r
10 //                        Form("local://%s",gSystem->pwd()));\r
11   // We store the object in AliEn during the simulation\r
12   reco.SetSpecificStorage("GRP/GRP/Data",\r
13                           "alien://Folder=/alice/simulation/2008/v4-15-Release/Ideal/");\r
14   reco.SetRunPlaneEff(kTRUE); \r
15   // ITS Plane efficiency\r
16   reco.SetRunPlaneEff(kTRUE);\r
17   AliITSRecoParam *itspar = AliITSRecoParam::GetPlaneEffParam(-1);\r
18   itspar->SetOptTrackletsPlaneEff(kTRUE);\r
19   reco.SetRecoParam("ITS",itspar);\r
20 \r
21   TStopwatch timer;\r
22   timer.Start();\r
23   reco.Run();\r
24   timer.Stop();\r
25   timer.Print();\r
26 }\r