Message: Re: Moving the particleGun Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Moving the particleGun 

Keywords: moving particleGun
Forum: Geometry
Re: None Moving the particleGun (Laura)
Date: 31 Jul, 2006
From: Ryan Romero <ryan3523@neo.tamu.edu>

Hi. I'm trying to generate a particle gun that shoots protons. I want to shift the source position within the user interface but it isn't working. /gun/position 0 0 0 m does'nt seem to work nor does it work with other units. /gun/direction does work very well, so I'm thinking i might be using /gun/position incorrectly som how.

I am able to set the position of the gun within the source code, but then changing positon will require me to recompile every time.

Is there something in the code I can change so that the /gun/position command will work, or am I'm using this incorrectly?

Thanks.

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

1 None: Re: Moving the particleGun   (Vladimir IVANTCHENKO - 01 Aug, 2006)
 Add Message Add Message
to: "Re: Moving the particleGun"

 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 ]