Please guide me how to code the mass attenuation coefficient for the isotropic photon source passing through the shield?!

Please guide me how to code the mass attenuation coefficient for the isotropic photon source passing through the shield?!