]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - T0/MakeT0ResMisAlignment.C
correct: no newline at end of file
[u/mrichter/AliRoot.git] / T0 / MakeT0ResMisAlignment.C
index 097d3ec856f7c2c451a47831ce0b0ed2b6fd361e..5a89ebd0986a83c148770be804134cf7adb457ca 100644 (file)
@@ -4,16 +4,6 @@ void MakeT0ResMisAlignment(){
   TClonesArray *array = new TClonesArray("AliAlignObjParams",30);
   TClonesArray &alobj = *array;
 
-  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
-
-  AliAlignObjParams a;
-
   Double_t dx, dy, dz, dpsi, dtheta, dphi;
   TRandom *rnd   = new TRandom(4321);
   Double_t sigmatr = 0.05; // max shift in cm