# Visualisation of GPS output for learning

**URL:** <https://geant4-forum.web.cern.ch/t/visualisation-of-gps-output-for-learning/13472>\
**Category:** Getting Started\
**Created:** [January 14, 2025, 4:43pm UTC](https://geant4-forum.web.cern.ch/t/visualisation-of-gps-output-for-learning/13472 "2025-01-14T16:43:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MyPines](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/mypines/32/8467_2.png) [@MyPines](https://geant4-forum.web.cern.ch/u/MyPines)\
**Post date:** [January 14, 2025, 4:43pm UTC](https://geant4-forum.web.cern.ch/t/visualisation-of-gps-output-for-learning/13472/1 "2025-01-14T16:43:47Z")

</div>

Hi,

I am not sure if I am posting this in the correct category. I am planning on using the General Radiation Analysis software for Space (GRAS) application. As with all geant4 applications it uses the GPS module to generate the particle source distributions and I would like to know what options there are for generating and visualizing these distributions before I run an actual simulation with my actual detector geometry.

I have read in the GRAS documentation that there are decisions to be made about the normalisation of the source distribution and of the resulting fluence in a detector volume, but without concrete data to play with I find these topics difficult to understand and play with. Maybe the answer is that I use a simple toy geometry and just run GRAS with this model?

I hope this request is not too woolly and that someone has an idea of what I am on about!

Regards.

---

<div class="post-metadata">

**Author:** ![allison](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/90db22/32.png) [@allison](https://geant4-forum.web.cern.ch/u/allison)\
**Post date:** [January 14, 2025, 7:10pm UTC](https://geant4-forum.web.cern.ch/t/visualisation-of-gps-output-for-learning/13472/2 "2025-01-14T19:10:47Z")

</div>

Hi Richard

I don’t know anything about GRAS, I’m afraid, but in the underlying Geant4 it is possible to visualise the GPS sources with Geant4 commands - `/vis/scene/add/gps`. Get guidance (`help /vis/scene/add/gps`) .

Otherwise, simply viewing the trajectories of the generated particles will show you where the source(s) are.

Given a source, some of the generated particles are (hopefully) going to pass through and/or interact with your detector. That’s it! Record the number and energy deposited. Not sure what more you wish/need to know.

John

---

<div class="post-metadata">

**Author:** ![system](https://geant4-forum.web.cern.ch/uploads/default/original/1X/ce519a43ebdf7ac48a98a03c6ad6eea013b68c46.png) [@system](https://geant4-forum.web.cern.ch/u/system)\
**Post date:** [February 13, 2025, 7:11pm UTC](https://geant4-forum.web.cern.ch/t/visualisation-of-gps-output-for-learning/13472/3 "2025-02-13T19:11:38Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
