]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG/muondep/AccEffTemplates/rec.C
General updates, including new class to compute the normalization factors using the...
[u/mrichter/AliRoot.git] / PWG / muondep / AccEffTemplates / rec.C
1
2 void rec(int dset=0)
3 {
4   
5   AliReconstruction reco;
6   reco.SetRunQA("MUON:ALL");
7   
8   reco.SetCleanESD(kFALSE);
9   reco.SetStopOnError(kFALSE);
10   
11   reco.SetDefaultStorage(VAR_OCDB_PATH);
12
13   if ( dset == 1 )
14   {
15     reco.SetRunReconstruction("MUON ITS");
16   }
17   else
18   {
19     reco.SetRunReconstruction("MUON");
20   }
21   
22   if ( VAR_OCDB_SNAPSHOT )
23   {
24     reco.SetCDBSnapshotMode("OCDB_rec.root");
25   }
26
27   // GRP from local OCDB
28   reco.SetSpecificStorage("GRP/GRP/Data",Form("local://%s",gSystem->pwd()));
29   
30   // MUON Tracker Residual Alignment
31   reco.SetSpecificStorage("MUON/Align/Data","alien://folder=/alice/simulation/2008/v4-15-Release/Residual");
32 reco.SetSpecificStorage("MUON/Calib/RejectList","alien://folder=/alice/cern.ch/user/l/laphecet/OCDB");
33   
34   reco.Run();
35 }