+#include "ARVersion.h"
+
void MakeAllDETsResMisAlignment(Char_t* CDBstorage = "local://$HOME/ResidualMisAlignment", Bool_t partialGeom=kFALSE){
// Make residual misalignment objects for all detectors
// Pass different "CDBstorage" argument if needed (e.g. to fill
}else{
gSystem->Setenv("TOCDB","kTRUE");
gSystem->Setenv("STORAGE",strStorage.Data());
- gROOT->ProcessLine(".L $ALICE_ROOT/macros/GetARversion.C");
- gSystem->Setenv("ARVERSION",GetARversion());
+ 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
gSystem->Exec("aliroot -b -q $ALICE_ROOT/GRP/MakeSTRUCTResMisAlignment.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;