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

Question GetDeltaMomentum() and GetDeltaEnergy() - why obsolete? 

Forum: Event and Track Management
Date: 22 Feb, 2011
From: Tom Roberts <Tom Roberts>

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.

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

1 None: Re: GetDeltaMomentum() and GetDeltaEnergy() - why obsolete?   (Marc Verderi - 24 Feb, 2011)
 Add Message Add Message
to: "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 ]