Message: Re: Local/Global coordinate transformation to establish primary vertex? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Local/Global coordinate transformation to establish primary vertex? 

Keywords: local global coordinate transform geometry
Forum: Geometry
Re: Question Local/Global coordinate transformation to establish primary vertex? (James Odegaard)
Date: 25 Oct, 2006
From: Gabriele Cosmo <Gabriele Cosmo>

Hi James,

> In reading the postings, it seems that during a run, G4Navigator is most useful
> in translating between local and global coordinates. My problem is that I would
> like to choose a point in local coordinates in a movable phantom (whose mother
> is not the world volume) and translate this to global coordinates before passing
> the point to the particle gun.
>
> Is there no way to get the geometry to calcualte the local->global transformation
> (or the inverse), without having access to the G4UserSteppingAction, etc.?

as already discussed several times in this Forum and mainly summarised in posting
#287:
http://geant4-hn.slac.stanford.edu:5090/HyperNews/public/get/geometry/287/1.html 
the inverse (global to local) is possible using a specific navigator object attached to
your phantom geometry for the location of your global point. Transforming from
local to global is not possible a priori, unless you manage to locate yourself in the
volume of interest first.

Cheers, Gabriele

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

1 Feedback: Re: Local/Global coordinate transformation to establish primary vertex?   (Jason Detwiler - 23 Jan, 2007)
1 More: Re: Local/Global coordinate transformation to establish primary vertex?   (Gabriele Cosmo - 24 Jan, 2007)
3 None: Re: Local/Global coordinate transformation to establish primary vertex?   (John Allison - 24 Jan, 2007)
1 Feedback: Re: Local/Global coordinate transformation to establish primary vertex?   (Jason Detwiler - 24 Jan, 2007)
... 1 Message(s)
 Add Message Add Message
to: "Re: Local/Global coordinate transformation to establish primary vertex?"

 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 ]