]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSreconstruction.cxx
AliITSgeom taken from loader
[u/mrichter/AliRoot.git] / ITS / AliITSreconstruction.cxx
index e3bc6267db9d23219c4c456714681d3134279712..92d791a71995f9af8d22e1e02b632b68935250c7 100644 (file)
@@ -153,7 +153,7 @@ Bool_t AliITSreconstruction::Init(){
     // Now ready to init.
  
     fRunLoader->CdGAFile();
-    fITSgeom = (AliITSgeom*)gDirectory->Get("AliITSgeom");
+    fITSgeom = fLoader->GetITSgeom();
 
     fDetTypeRec = new AliITSDetTypeRec(fLoader);
     fDetTypeRec->SetDefaults();