Message: Re: equivalent of Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: equivalent of  

Forum: Particles
Re: None equivalent of "gun" in gps commands (Svetlana Shasharina)
Date: Feb 26, 00:49
From: Emma Wilson <Emma Wilson>

The Application Developer's Guide has a list of the gps commands:

As long as the general particle source is set up in your code, it would just be as simple as replacing 'gun' with 'gps', for the commands you are using here.

On Mon, 25 Feb 2019 20:25:19 GMT, Svetlana Shasharina wrote:

> Hello, I would like to use gps commands equivalent to the following
> commands native to G4:
> /gun/energy 2. GeV
> /gun/direction 0 0 1
> /gun/position 0 0 -1. m
> /gun/particle gamma
> Should I create a gps plane rectangular source at the boundary of the
> world?
> Thanks, Sveta

 Add Message Add Message
to: "Re: equivalent of "

 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 ]