Getting branching ratio of radioactive decay

Hello, I’m simulating radioactive decay and I need to get a file like this one:
exampledata.txt (84.8 KB)

first culomn=bin number
second culomn=counts of the bin
third culomn=branching ratio of the gamma in radioactive decay

how could I get the branching ratio corresponding to that bin energy?
Thank you