Message: 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 Get Particle Name of Energy Deposit for Equivalent Dose Scorer 

Forum: Biasing and Scoring
Date: 18 Mar, 2015
From: Matthew Lund <Matthew Lund>

I've created a primitive equivalent dose scorer; however, the weighting factor is wrong because I'm getting the primary particle name and not the particle that deposited energy. How would I get the particle name and energy that deposited the energy rather than the primary particle. Here is how my code gets the particle name and energy:
    G4String particleName = aStep->GetTrack()->GetDefinition()->GetParticleName();
    G4double kineticEnergy = aStep->GetTrack()->GetKineticEnergy();

Any suggestions?

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Get Particle Name of Energy Deposit for Equivalent Dose Scorer   (Tsukasa Aso - 18 Mar, 2015)
(_ None: Re: Get Particle Name of Energy Deposit for Equivalent Dose Scorer   (Matthew Lund - 19 Mar, 2015)
(_ None: Re: Get Particle Name of Energy Deposit for Equivalent Dose Scorer   (Daren Sawkey - 19 Mar, 2015)
 Add Message Add Message
to: "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