Scoring energy deposited by electrons in biasing

hi

is it correct to score energy deposited by electrons by using this method
step->GetTotalEnergyDeposit()
in biasing mode?

or I must multiply it by weight?

step->GetTotalEnergyDeposit()*step->GetPreStepPoint()->GetWeight()

i got the result by using step->GetTotalEnergyDeposit() and it was the correct result.

but I am not sure that I can simply use step->GetTotalEnergyDeposit() in biasing mode, because when I irradiate a volume that I attached to OptrMultiParticleForceCollision by photon, another photon is produced in it and does not interact with it.

what is important for me is tracking electrons produced when a photon interacts at the center of the detector that is why I used OptrMultiParticleForceCollision like GB02.

thanks,
Keyvan