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

None 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)
Re: Feedback Re: Local/Global coordinate transformation to establish primary vertex? (Gabriele Cosmo)
Re: Feedback Re: Local/Global coordinate transformation to establish primary vertex? (Jason Detwiler)
Date: 24 Jan, 2007
From: John Allison <John Allison>

Dear Jason,

Your problem might be the one we face in visualisation when we invite the user to draw a physical volume in the /vis/drawVolume (or /vis/scene/add/volume) command. The user may specify a physical volume name and a copy number. As Gabriele says, this does not guarantee a unique solution, but if the physical volume appears only once, it can be useful. If the physical volume appears more than once, our simple algorithm simpy takes the first found and issue a warning that it is not unique. Users seem to have found it useful nevertheless.

Look in file G4VisCommandsSceneAdd.cc, function G4VisCommandSceneAddVolume::SetNewValue. There you will find some code for searching all the worlds (not just the tracking world). There we get a G4PhysicalVolumeModel to send volumes to a G4PhysicalVolumeSearchScene instead of the usual graphics driver. It delivers the depth and transformation of the first found volume.

Let me know if this helps or if you need any more help.

John.

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 - 24 Jan, 2007)
(_ More: Re: Local/Global coordinate transformation to establish primary vertex?   (Gabriele Cosmo - 25 Jan, 2007)
 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 ]