]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - test/gun/rec.C
Update master to aliroot
[u/mrichter/AliRoot.git] / test / gun / rec.C
index 8424f6045435b323167e197d25fab4755865b36b..574df50f7eb9115bb706a37d72770e580cacd5bf 100644 (file)
@@ -3,17 +3,13 @@ void rec() {
 
   reco.SetWriteESDfriend();
   reco.SetWriteAlignmentData();
-  AliTPCReconstructor::SetStreamLevel(1);
-  //  AliTPCReconstructor::SetRecoParam(AliTPCRecoParam::GetLowFluxParam());
-  //  reco.SetInput("raw.root");
-  //  reco.SetRunReconstruction("ITS TPC TRD TOF HMPID PHOS EMCAL MUON T0 VZERO FMD PMD ZDC");
-  AliCDBManager::Instance()->SetCacheFlag(kFALSE);
-// **** The field map settings must be the same as in Config.C !
-  AliMagFMaps *field=new AliMagFMaps("Maps","Maps",2,1.,10.,AliMagFMaps::k5kG);
-  Bool_t uniform=kTRUE;
-  AliTracker::SetFieldMap(field,uniform);
+
+  reco.SetDefaultStorage("local://$ALICE_ROOT/OCDB");
+  reco.SetSpecificStorage("GRP/GRP/Data",
+                         Form("local://%s",gSystem->pwd()));
+  reco.SetRunPlaneEff(kTRUE);
+
+  reco.SetFractionFriends(1.);
 
   TStopwatch timer;
   timer.Start();