How to code for the efficiency of a detector at different neutron energies

I want to run a simulation on a BF3 gas bonner sphere detector and its efficiency/probability for a neutron detection event as we vary energy. basically at an energy X I want to take the number of detection events and divide those by the number of neutrons produced.

However I seem to have trouble getting started with this. I am fairly new to fluka so if someone could help that would be greatly appreciated.

Dear @moiz.muddassir,

If you are new to Fluka, I strongly advise you to start studying the material (slides) from the last FLUKA Beginners’ course. This is the link to the webpage.