]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/scripts/MakeResidualAlignment.C
o automatic detection of 11a pass4 (Alla)
[u/mrichter/AliRoot.git] / FMD / scripts / MakeResidualAlignment.C
index 1da333ed0afc9d2ad0e5f634e6c405620dade66f..ba1ff753cc22e8b92bda30b6e4e7ef74183c7938 100644 (file)
@@ -13,8 +13,10 @@ MakeResidualAlignment()
   if (!TGeoManager::Import("geometry.root")) 
     gAlice->Init("$ALICE_ROOT/FMD/Config.C");
   AliCDBManager* cdb   = AliCDBManager::Instance();
-  cdb->SetDefaultStorage("local://$ALICE_ROOT");
-  
+  if(!cdb->IsDefaultStorageSet()) 
+    cdb->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
+  cdb->SetRun(0);
+  AliLog::SetModuleDebugLevel("FMD", 1);
   gSystem->Load("libFMDutil.so");
   AliFMDAlignFaker f(AliFMDAlignFaker::kAll, "geometry.root", "residual.root");
   f.SetComment("Residual alignment for PDC06");