Message: Re: Position output in Geant3 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Position output in Geant3 

Forum: Event and Track Management
Re: Question Position output in Geant3 (David Barton)
Date: 09 Jan, 2010
From: michel maire <michel maire>

On Thu, 07 Jan 2010 20:06:27 GMT, David Barton wrote:
> Sorry to ask a Geant3 question here but I'm a bit stuck. I'm trying to
> get the energy deposited and location of the interaction out from my
> detector. I can get the energy but I can't seem to figure out how to
> find the location. When I try to retrieve the information using GFHITS I
> don't get appropriate results for the location. I've tried getting the
> location through VECT and VOUT and then storing the information with
> GSAHIT or GSCHIT, but it doesn't seem to work and I'm not sure what else
> to try.
> Any advice would be much appreciated.

 I confirm that VECT(1->3) gives the current position of the particle : to be used in GUSTEP.

 I attach an example of gustep where we compute x**2 + y**2
 You can find it in geant4 distribution :

 Maybe your problem comes from the way you store or retrieve the hit.



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

1 Feedback: Re: Position output in Geant3   (David Barton - 15 Jan, 2010)
 Add Message Add Message
to: "Re: Position output in Geant3"

 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 ]