Message: Re: Creation of large number of identical sources Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: Creation of large number of identical sources 

Forum: Geometry
Re: Question Creation of large number of identical sources (Ivan Konobeev)
Date: 27 Oct, 2014
From: Michael H. Kelsey <Michael H. Kelsey>

Write your own G4UserPrimaryGeneratorAction. You may define macro commands so the coordinates (or better, the coordinate pattern of spacing and range) may be changed at runtime. Then you can have just one G4ParticleGun instance, and your generator action calls it many times for each of the source points.

  -- Michael Kelsey

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

1 Ok: Re: Creation of large number of identical sources   (Ivan Konobeev - 29 Oct, 2014)
 Add Message Add Message
to: "Re: Creation of large number of identical sources"

 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 ]