]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - macros/MakeAllDETsFullMisAlignment.C
Bug fix in the constructor (thanks to A.Marin)
[u/mrichter/AliRoot.git] / macros / MakeAllDETsFullMisAlignment.C
index e526897ffae189737b0f1b0a8c8f7234123c804b..b4e4df9c553317889af4351c7ee21665f47c419f 100644 (file)
@@ -20,15 +20,15 @@ void MakeAllDETsFullMisAlignment(Char_t* CDBstorage = "local://$HOME/FullMisAlig
     gSystem->Setenv("ARVERSION",ALIROOT_SVN_BRANCH);
   }
   if(partialGeom){
-    gSystem->Setenv("PARTGEOM","kTRUE");
+    gSystem->Setenv("REALSETUP","kTRUE");
   }else{
-    gSystem->Setenv("PARTGEOM","kFALSE");
+    gSystem->Setenv("REALSETUP","kFALSE");
   }
 
   // Load geometry from CDB updating it if we are producing the
   // alignment objects for the CDB
   AliCDBManager* cdb = AliCDBManager::Instance();
-  if(!cdb->IsDefaultStorageSet()) cdb->SetDefaultStorage("local://$ALICE_ROOT");
+  if(!cdb->IsDefaultStorageSet()) cdb->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
   cdb->SetRun(0);
   
   if(strStorage.IsNull()){ //if we produce the objects into a file