Message: Re: dE [ GetTotalEnergyDeposit() ] value remains constant at 0.0332 MeV Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: dE [ GetTotalEnergyDeposit() ] value remains constant at 0.0332 MeV 

Forum: Physics List
Re: Question dE [ GetTotalEnergyDeposit() ] value remains constant at 0.0332 MeV (Ashwath Rao)
Re: More Re: dE [ GetTotalEnergyDeposit() ] value remains constant at 0.0332 MeV (Ashwath Rao)
Date: 06 Apr, 2012
From: michel maire <michel maire>

On Fri, 06 Apr 2012 11:44:07 GMT, Ashwath Rao wrote:
> hello everyone, Also kindly tell me where to add:
> 
> G4double eDeposit = step-> GetTotalEnergyDeposit()
> 
> I want to obtain energy deposit after every gamma event.
> 

 It has to be collected step by step, in SteppingAction, and summed up event by event, in EventAction.

 A simple example can be found in examples/extended/electromagnetic/TestEm4

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

1 Agree: Re: dE [ GetTotalEnergyDeposit() ] value remains constant at 0.0332 MeV   (Ashwath Rao - 06 Apr, 2012)
(_ Feedback: Re: dE [ GetTotalEnergyDeposit() ] value remains constant at 0.0332 MeV   (Ashwath Rao - 06 Apr, 2012)
 Add Message Add Message
to: "Re: dE [ GetTotalEnergyDeposit() ] value remains constant at 0.0332 MeV"

 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 ]