Message: Re: Get Particle Name of Energy Deposit for Equivalent Dose Scorer Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Get Particle Name of Energy Deposit for Equivalent Dose Scorer 

Forum: Biasing and Scoring
Re: None Get Particle Name of Energy Deposit for Equivalent Dose Scorer (Matthew Lund)
Re: None Re: Get Particle Name of Energy Deposit for Equivalent Dose Scorer (Tsukasa Aso)
Re: None Re: Get Particle Name of Energy Deposit for Equivalent Dose Scorer (Matthew Lund)
Date: 19 Mar, 2015
From: Daren Sawkey <Daren Sawkey>

> I assume that I'm getting the primary particle
> name and energy, not the actual particle name and energy that is doing
> the energy deposit within the scoring volume. Any ideas of how to
> correct that.

Your code will get you the current particle, not the primary.

If you are trying to calculate the equivalent dose used in radiation protection, note that the weighting factor is a function of the primary particle, not the secondary.

Also note that e.g. gamma don't deposit much energy themselves. Rather it is the secondary charged particles they create that deposit the energy. You can see this by adding a

G4cout << edep << " " << particleName << G4endl

to your code.

-- Daren.

 Add Message Add Message
to: "Re: Get Particle Name of Energy Deposit for Equivalent Dose Scorer"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews