Message: Re: GetStepStatus() in geant4 10.0 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

More Re: GetStepStatus() in geant4 10.0 

Forum: Geometry
Re: Question GetStepStatus() in geant4 10.0 (Neil Fazel)
Date: 11 Mar, 2014
From: Gabriele Cosmo <Gabriele Cosmo>

From the release notes of 9.4.p02:

    + Fixed setting of 'fWorldBoundary' step status in G4SteppingManager
      InvokePostStepDoItProcs() and DefinePhysicalStepLength(). Flag was not
      set and not used.

Cheers, Gabriele

------------------
On Tue, 11 Mar 2014 06:18:53 GMT, Neil Fazel wrote:
> I have upgraded from geant4-09-04-patch-01 to geant4-10-00-patch-01 and find that the behavior
> of GetStepStatus() in class G4StepPoint has changed unexpectedly. 
> 
> For example, running the following code snippet, 
> 
>   // last step in World volume
>   if (!aStep->GetTrack()->GetNextVolume()) {
>     G4cout  << aStep->GetPreStepPoint()->GetStepStatus() << " "
>                  << aStep->GetPostStepPoint()->GetStepStatus() << " " 
>                  << aStep->GetTrack()->GetTrackStatus()
>     G4endl;
>     <snip>
>  }
> 
> meant to catch particles as they cross the World boundary and output their energy and momenta, I get 
> 
> 1 1 2 
> 
> in geant4-09-04-patch-01 and 
> 
> 1 0 2 
> 
> in geant4-10-00-patch-01. So the post-step status in the old version was fGeomBoundary and in the new version is fWorldBoundary. Is this to be expected? I couldn't find an explanation for this in the release notes. 
> 
> Thanks,
> Neil
> 

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

1 None: Re: GetStepStatus() in geant4 10.0   (Neil Behzad Fazel - 11 Mar, 2014)
 Add Message Add Message
to: "Re: GetStepStatus() in geant4 10.0"

 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 ]