Message: retrieving the x,y and z coordinates for an interaction Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None retrieving the x,y and z coordinates for an interaction 

Forum: Event and Track Management
Date: 17 Nov, 2004
From: Thomas <trp461@bham.ac.uk>

I was wondering if there was a way, other than using /tracking/verbose ... to access the x,y and z position values for each interaction. I want to be able to calculate the total distance from the particle creation point that the particle gets in my system, but I seem to be unable to get at these values. Although I see how G4SteppingVerbose.cc works I unfortunately am using it as my Stepping Verbose file rather than a local file, so I cant just edit that to get my output. Is there any way to gain access to the fTrack object directly, since that is where the data I want is? Is there perhaps an online class map that would allow me to figure out how the classes inter-relate. or is there perhaps a few lines of code I could add in to a file to retrieve the pointer to the most recent G4track created or somesuch.

Any help or advice would be appreciated.

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

 Add Message Add Message
to: "retrieving the x,y and z coordinates for an interaction"

 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 ]