]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDgeometry.cxx
Bugfixes and clean-up of alignment object classes. Introduction of so called symbolic...
[u/mrichter/AliRoot.git] / TRD / AliTRDgeometry.cxx
index d6e5be9cd70288a6080a0969fe59ef3f998b0337..4eab99badb9f8499855d51f1fa7adce9c5a09185 100644 (file)
@@ -1383,7 +1383,10 @@ Bool_t AliTRDgeometry::ReadGeoMatrices()
     for (Int_t iModule = 0; iModule < AliAlignObj::LayerSize(iLayer); iModule++) {
 
       UShort_t    volid   = AliAlignObj::LayerToVolUID(iLayer,iModule);
-      const char *path    = AliAlignObj::GetVolPath(volid);
+      const char *symname = AliAlignObj::SymName(volid);
+      TGeoPNEntry* pne = gGeoManager->GetAlignableEntry(symname);
+      const char *path = symname;
+      if(pne) path=pne->GetTitle();
       if (!gGeoManager->cd(path)) return kFALSE;      
       TGeoHMatrix *m = gGeoManager->GetCurrentMatrix();
       Int_t     iLayerTRD = iLayer - AliAlignObj::kTRD1;