NuSpaceSim / nuSpaceSim

The main simulator repository for nuSpaceSim
BSD 3-Clause Clear License
11 stars 1 forks source link

Longitudinal profile options for shower particle count in eas_optical #103

Open Areustle opened 3 weeks ago

Areustle commented 3 weeks ago

Add a configuration mechanism to select between multiple particle count generation functions in the eas_optical shower simulation: Greisen & Gaisser-Hillas shower longitudinal profiles.

Areustle commented 3 weeks ago

This update introduces a new feature to the NuSpaceSim simulator, specifically related to the configuration of the Cherenkov light engine model used in simulations of extensive air showers (EAS). Cherenkov radiation is crucial in detecting high-energy particles, and this update allows for more flexibility and accuracy in modeling the longitudinal profile of particle showers.

Key Changes:

1. Cherenkov Light Engine Model Selection:

2. Configuration via TOML File:

How to Use the Updated Configuration:

1. Modify the TOML Configuration File:

In your NuSpaceSim configuration TOML file, you can specify the Cherenkov light engine model under the simulation section. Here’s how to set it:

[simulation]
cherenkov_light_engine = "Greisen"  # Default option

Alternatively, you can use the Gaisser-Hillas model:

[simulation]
cherenkov_light_engine = "Gaisser-Hillas"

The literal "Default" will automatically be replaced with "Greisen".

2. Understanding the Models:

3. Implications for Simulation Results: