]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PMD/AliPMDv3.cxx
The track number and track pid associated with the cluster are included
[u/mrichter/AliRoot.git] / PMD / AliPMDv3.cxx
index 1f0ca266aa193037cfee574b31912c3ff27054e5..2afbed4dbbdace26cbf640e474c4a66382aa64a4 100644 (file)
@@ -575,8 +575,8 @@ void AliPMDv3::CreateMaterials()
   Float_t wsteel[4] = { .715,.18,.1,.005 };
   
   Int_t *idtmed = fIdtmed->GetArray()-599;
-  Int_t isxfld = gAlice->Field()->Integ();
-  Float_t sxmgmx = gAlice->Field()->Max();
+  Int_t isxfld = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->Integ();
+  Float_t sxmgmx = ((AliMagF*)TGeoGlobalMagField::Instance()->GetField())->Max();
   
   // --- Define the various materials for GEANT --- 
   AliMaterial(1, "Pb    $", 207.19, 82., 11.35, .56, 18.5);