View on GitHub

Geant4 Zero to Hero

The Definitive Guide for End Users

YouTube Direction

Focused Beam

GPS provides the following commands to focus one or multiple beams to a point:

/gps/ang/type focused
/gps/ang/focuspoint 0 0 0 cm

Ref.: Geant4 User Guide for Application Developers.

A YouTube short is created to demonstrate its effect in a fun way. Geometries are defined in stars.tg. GPS commands are in gears.mac. tsg.mac and phi.mac are used to create a animated gif.