Message: Re: Ionization Energy Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Ionization Energy 

Forum: Event and Track Management
Re: None Ionization Energy (tbjc1magic)
Re: Question Re: Ionization Energy (tbjc1magic)
Date: 13 Feb, 2012
From: Gumplinger Peter <Gumplinger Peter>

The energy lost by a particle (to the medium and to secondaries) during a step is obtained with GetDeltaEnergy:

http://www-geant4.kek.jp/lxr/source/track/src/G4Step.cc#L189

The energy lost to the medium is obtained with GetTotalEnergyDeposit. The energy available for ionization is:

GetTotalEnergyDeposit() - GetNonIonizingEnergyDeposit()

see for example MeanNumberOfIonsAlongStep:

http://www-geant4.kek.jp/lxr/source//processes/electromagnetic/utils/src/G4ElectronIonPair.cc#L75

All this can be obtained from the G4Step object and you do not have to code anything inside StackingAction.

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

1 Question: Re: Ionization Energy   (tbjc1magic - 13 Feb, 2012)
(_ Feedback: Re: Ionization Energy   (Gumplinger Peter - 14 Feb, 2012)
(_ Question: Re: Ionization Energy   (tbjc1magic - 14 Feb, 2012)
(_ Feedback: Re: Ionization Energy   (Gumplinger Peter - 14 Feb, 2012)
 Add Message Add Message
to: "Re: Ionization Energy"

 Subscribe Subscribe

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


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]