Message: Re: GetDeltaMomentum() and GetDeltaEnergy() - why obsolete? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: GetDeltaMomentum() and GetDeltaEnergy() - why obsolete? 

Forum: Event and Track Management
Re: Question GetDeltaMomentum() and GetDeltaEnergy() - why obsolete? (Tom Roberts)
Date: 24 Feb, 2011
From: Marc Verderi <Marc Verderi>

Dear Tom,

My recollection for motivation to remove these methods is that they were 
often misinterprated. In particular GetDeltaEnergy() was wrongly taken 
for "deposit energy".

Marc

Le 22/02/2011 18:33, Tom Roberts a écrit :
> *** Discussion title: Event and Track Management
>
> After updating to Geant4 9.4, I get warnings indicating that
> G4Step::GetDeltaMomentum() and G4Step::GetDeltaEnergy() are obsolete and
> will be removed. Why is this?
>
> I use them to interpolate between steps in certain circumstances. They
> are used only in UserSteppingAction(), so I could do the subtraction
> from pre- and post-step tracks, but that's a hassle. I just wonder if
> there is something deeper, and why the change is being made.
>
> -------------------------------------------------------------
> Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or unsubscribe) at:
> http://hypernews.slac.stanford.edu/HyperNews/geant4/get/eventtrackmanage/990.html

 Add Message Add Message
to: "Re: GetDeltaMomentum() and GetDeltaEnergy() - why obsolete?"

 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 ]