Message: Why the GetGlobalTime( ) function always return 0 ? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Why the GetGlobalTime( ) function always return 0 ? 

Keywords: GetGlobalTime
Forum: Event and Track Management
Date: 02 Mar, 2006
From: kunlong <kunlong>

Hi all,

I tried to get some informations about a particle. When I used aStep->GetTrack()->GetKineticEnergy() or aStep->GetTrack()->GetPosition(), They are working fine. But when I used aStep->GetTrack()->GetGlobalTime()/GetProperTime()/GetLocalTime(), they always return 0. I am wondering if I have to initialize a timer somewhere.

Any help is appreciated.

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

 Add Message Add Message
to: "Why the GetGlobalTime( ) function always return 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 ]