Advanced Example air_shower


Responsible Geant4 Collaborator: Makoto Asai

Developers: Nate MacFadden and Ara Knaian, NK labs, LCC

Short description

This example demonstrates a custom geometry class for accurately and efficiently simulating aerosols with many droplets. Using the provided classes, it is possible to simulate clouds containing billions of randomly-positioned solid or liquid droplets in GEANT4. The class supports arbitrary droplet shape, arbitrary cloud shape, and allows a user-defined distribution function for droplet number density.

The example shoots a beam of protons through a rectangular section of atmospheric rain cloud, and measures the energy absorbed by a detector. It includes code to allow measurement of CPU time and memory requirements as compared to two alternative approaches to modeling the geometry of an aerosol in GEANT4. The example can be execute in multithreaded mode.

Last updated: 05/02/2022 by S. Guatelli