Would like to find out dosage absorbed in B4

Good Day Everyone!

I would like some assistance please. I would like to find out for example B4 instead of the absorb energy being collect, I would like to determine the dosage being absorbed for different materials. I’m fairly new to GEANT4 and would appreciate some assistance if possible, pointing me in the right direction. Thank you in advance for you assistance.

Regards!
SD