Air defined as mixture.
[u/mrichter/AliRoot.git] / STRUCT / AliFRAMEv2.cxx
index f1d0050..439638f 100644 (file)
@@ -1261,6 +1261,13 @@ void AliFRAMEv2::CreateMaterials()
   Int_t   isxfld = gAlice->Field()->Integ();
   Float_t sxmgmx = gAlice->Field()->Max();
   
+  Float_t aAir[4]={12.0107,14.0067,15.9994,39.948};
+  Float_t zAir[4]={6.,7.,8.,18.};
+  Float_t wAir[4]={0.000124,0.755267,0.231781,0.012827};
+  Float_t dAir = 1.20479E-3;
+
+
+
   Float_t asteel[4] = { 55.847,51.9961,58.6934,28.0855 };
   Float_t zsteel[4] = { 26.,24.,28.,14. };
   Float_t wsteel[4] = { .715,.18,.1,.005 };
@@ -1268,7 +1275,8 @@ void AliFRAMEv2::CreateMaterials()
   AliMixture(65, "STAINLESS STEEL$", asteel, zsteel, 7.88, 4, wsteel);
   AliMaterial(5, "AIR$      ", 14.61, 7.3, .001205, 30423.24, 67500.);
   AliMedium(65, "Stainless Steel", 65, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
-  AliMedium( 5, "Air            ", 5, 0, isxfld, sxmgmx, tmaxfd, stemax, deemax, epsil, stmin);
+  AliMixture(5, "AIR$      ", aAir, zAir, dAir,4, wAir);
+
 }
 
 //_____________________________________________________________________________