]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STRUCT/AliMAG.cxx
VHMPID support added
[u/mrichter/AliRoot.git] / STRUCT / AliMAG.cxx
index 82fabd9a3c7bbe21bad7d95edec35b120dd91921..76e4c57148c845a6a86f229e35306115de563c7e 100644 (file)
@@ -200,7 +200,7 @@ void AliMAG::CreateGeometry()
   gMC->Gspos("L3FX", 1, "L3DX", 0., 0., 0., 0, "MANY");
   gMC->Gspos("L3IX", 1, "L3DX", 0., 0., 0., 0, "MANY");
 
-  if(!strcmp(gMC->GetName(),"TGeant3")) {
+  if(!strcmp(gMC->GetName(),"TGeant3") || !strcmp(gMC->GetName(),"TFluka")) {
 
     gMC->Gspos("L3O1", 1, "L3FR", 0., 30., 0., 0, "MANY");
     gMC->Gspos("L3O2", 1, "L3IR", 0., 30., 0., 0, "MANY");
@@ -230,7 +230,6 @@ void AliMAG::CreateMaterials()
   
   Int_t   isxfld = gAlice->Field()->Integ();
   Float_t sxmgmx = gAlice->Field()->Max();
-  
   Float_t epsil, stmin, deemax, tmaxfd, stemax;