Message: Re: GetGlobalTime returns a constant value throughout event. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: GetGlobalTime returns a constant value throughout event. 

Forum: Event and Track Management
Re: Question GetGlobalTime returns a constant value throughout event. (Matt Taggart)
Date: 27 May, 2013
From: Matt Taggart <Matt Taggart>

Hello Peter,

Thank you for your reply. I had actually already found the other question before I posted my own problem. To answer your question from that thread, I'm using the Livermore G4FissLib to generate the secondary nFission process.

As for the GlobalTime issue, attached is a snippet of my outputted data from the UserSteppingAction method of my SteppingAction class. You can see the event, parent, track and step ID numbers, followed by particle-type and the return of GetCreatorProcess(), and finally the Global, Local and Proper times taken at the GetPreStepPoint() and GetPostStepPoint().

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2013/05/27/08.41-59932-SAoutput.txt

As can be seen, the Local (and proper) times act as I expect, but GetGlobalTime() returns the same value for Pre and Post step, and for each step of the same event, only changing when the event number changes.

Since I'm interested in the time between Primary and Secondary fissions I either need the GlobalTime of the first step of a track created by nFission, or to find the Post-step local time of the parent particle of that fission. The first appears not to be functioning, the second I am unsure how to extract.

Regards

Matt

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

1 Feedback: Re: GetGlobalTime returns a constant value throughout event.   (Gumplinger Peter - 27 May, 2013)
 Add Message Add Message
to: "Re: GetGlobalTime returns a constant value throughout event."

 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 ]