]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - macros/MakeAllDETsResMisAlignment.C
Removed problem which prevented trunk from compiling
[u/mrichter/AliRoot.git] / macros / MakeAllDETsResMisAlignment.C
index cc54a20aa73630878229deb64ba875e0a2075207..381fa2a83a27b43aa441d3acf959cf47a86e1e97 100644 (file)
@@ -20,15 +20,15 @@ void MakeAllDETsResMisAlignment(Char_t* CDBstorage = "local://$HOME/ResidualMisA
     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