Message: Re: How to gain the position of the particle by using G4Track Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to gain the position of the particle by using G4Track 

Forum: Event and Track Management
Re: None How to gain the position of the particle by using G4Track (chen yong)
Date: 23 Mar, 2018
From: Frank Ruta <Frank Ruta>

> for example 
> G4double x=theTrack->GetPosition(x)
> G4double y=theTrack->GetPosition(y)
> G4double z=theTrack->GetPosition(z)
> ??
>  

G4double theTrack->GetPosition().getX()

G4double theTrack->GetPosition().getY()

G4double theTrack->GetPosition().getZ()

 Add Message Add Message
to: "Re: How to gain the position of the particle by using G4Track"

 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 ]