]> 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 6d7c93e5161f9c0db4f0492380cfaca73ea10106..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
@@ -58,7 +58,7 @@ void MakeAllDETsFullMisAlignment(Char_t* CDBstorage = "local://$HOME/FullMisAlig
   gSystem->Exec("aliroot -b -q $ALICE_ROOT/GRP/MakeSTRUCTFullMisAlignment.C");
 
   // run macros for sensitive modules
-  TString sModules="EMCAL,FMD,HMPID,ITS,MUON,PMD,PHOS,T0,TRD,TPC,TOF,VZERO,ZDC";
+  TString sModules="ACORDE,EMCAL,FMD,HMPID,ITS,MUON,PMD,PHOS,T0,TRD,TPC,TOF,VZERO,ZDC";
   TObjArray *detArray = sModules.Tokenize(',');
   TIter iter(detArray);
   TObjString *ostr;