How to open .z files in downloaded G4Data files and check the cross section data

Dear experts,
Recently I am trying to simulating incident low energy proton( <10MeV ) react with Boron-11 target, the PhysicsList is “QGSP_BIC_AllHP”, I want to find the cross section data of (p,α), so I checked the files in G4_Data\G4TENDL1.3.2\Proton\Inelastic\CrossSection folder, but all the data files are “.z” files(say,“5_11_Boron.z”), I have trired all the methods as far as I know, still I can’t open these files, so please tell me how to open( or uncompress) these .z files, thanks!:smiley:

Hello,
these are zlib compressed files. To uncompress these files, see e.g. https://unix.stackexchange.com/questions/22834/how-to-uncompress-zlib-data-in-unix.
For example to uncompress 5_11_Boron.z use:

printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" |cat - 5_11_Boron.z |gzip -dc >/tmp/5_11_Boron

Gunter

Thanks, Gunter! It works for me!