Message: Re: Using GPS Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: Using GPS 

Forum: Biasing and Scoring
Re: Question Using GPS (Robert Nnaemeka)
Date: 27 Sep, 2015
From: Michael H. Kelsey <Michael H. Kelsey>

On Mon, 28 Sep 2015 03:18:46 GMT, Robert Nnaemeka wrote:
> Hi Geant4 users. I would like to know how to modify example B1 to use
> GPS(General Particle Source). As for writing the macro, I know how to do
> it. My only problem is in modifying the source and included files to us
> GPS rather than the particle gun. Thanks

Replace "G4ParticleGun" with "G4GeneralParticleSource" everywhere it appears. That's all you should need to do. If you want to modify the example to pre-set GPS with some non-trivial configuration, then you'll have to add that code yourself.

   -- Michael Kelsey

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

1 Feedback: Re: Using GPS   (Robert Nnaemeka - 27 Sep, 2015)
(_ None: Re: Using GPS   (michel maire - 28 Sep, 2015)
 Add Message Add Message
to: "Re: Using GPS"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews