]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - macros/MakeAllDETsZeroMisAlignment.C
consolidate zero-length arrays (aka struct hack)
[u/mrichter/AliRoot.git] / macros / MakeAllDETsZeroMisAlignment.C
index b8f4669ffffa7de661c45dbf0e34ff7dffd42007..27342c6a8b4d2b17cf2d4fe470424a798d0c1ab5 100644 (file)
@@ -14,18 +14,18 @@ void MakeAllDETsZeroMisAlignment(Char_t* CDBstorage = "local://$HOME/ZeroMisAlig
   }else{  
     gSystem->Setenv("TOCDB","kTRUE");
     gSystem->Setenv("STORAGE",strStorage.Data());
-    gSystem->Setenv("ARVERSION",ALIROOT_SVN_BRANCH);
+    gSystem->Setenv("ARVERSION",ALIROOT_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