(*fIdmate)[imat]=kmat;
}
+//_____________________________________________________________________________
+void AliModule::AliGetMaterial(Int_t imat, char* name, Float_t &a,
+ Float_t &z, Float_t &dens, Float_t &radl,
+ Float_t &absl)
+{
+ //
+ // Store the parameters for a material
+ //
+ // imat the material index will be stored in (*fIdmate)[imat]
+ // name material name
+ // a atomic mass
+ // z atomic number
+ // dens density
+ // radl radiation length
+ // absl absorbtion length
+ // buf adress of an array user words
+ // nwbuf number of user words
+ //
+
+ Float_t buf[10];
+ Int_t nwbuf, kmat;
+ kmat=(*fIdmate)[imat];
+ gMC->Gfmate(kmat, name, a, z, dens, radl, absl, buf, nwbuf);
+}
+
//_____________________________________________________________________________
void AliModule::AliMixture(Int_t imat, const char *name, Float_t *a,
// Module composition
virtual void AliMaterial(Int_t, const char*, Float_t, Float_t, Float_t, Float_t,
Float_t, Float_t* buf=0, Int_t nwbuf=0) const;
+ virtual void AliGetMaterial(Int_t, char*, Float_t&, Float_t&, Float_t&,
+ Float_t&, Float_t&);
virtual void AliMixture(Int_t, const char*, Float_t*, Float_t*, Float_t, Int_t, Float_t*) const;
virtual void AliMedium(Int_t, const char*, Int_t, Int_t, Int_t, Float_t, Float_t,
Float_t, Float_t, Float_t, Float_t, Float_t* ubuf=0, Int_t nbuf=0) const;