void MakeFMDFullMisAlignment(){
// Create TClonesArray of full misalignment objects for FMD
//
- if(!gGeoManager) TGeoManager::Import("geometry.root");
+ if(!AliGeomManager::GetGeometry()){
+ if(!(AliCDBManager::Instance())->IsDefaultStorageSet())
+ AliCDBManager::Instance()->SetDefaultStorage("local://$ALICE_ROOT");
+ AliCDBManager::Instance()->SetRun(0);
+ AliGeomManager::LoadGeometry();
+ }
// needed for the constructors with local coordinates not to fail
gSystem->Load("libFMDutil.so");