]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - macros/MakeAllDETsZeroMisAlignment.C
CMake: Retrieve Git information
[u/mrichter/AliRoot.git] / macros / MakeAllDETsZeroMisAlignment.C
index 9448472eec60369a19412d46ef3a09194c1d96d0..7dccf35f5ffa8b3fff1a52ea0ff31ba604fc4058 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_VERSION);
   }
   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
@@ -55,7 +55,7 @@ void MakeAllDETsZeroMisAlignment(Char_t* CDBstorage = "local://$HOME/ZeroMisAlig
   gSystem->Exec("aliroot -b -q $ALICE_ROOT/GRP/MakeSTRUCTZeroMisAlignment.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;