gSeaGen code by KM3NeT: An efficient tool to propagate muons simulated with CORSIKA
The KM3NeT Collaboration has tackled a common challenge faced by the astroparticle physics community, namely adapting the experiment-specific simulation software to work with the CORSIKA air shower simulation output. The proposed solution is an extension of the open source code gSeaGen, which allows the transport of muons generated by CORSIKA to a detector of any size at an arbitrary depth. The gSeaGen code was not only extended in terms of functionality but also underwent a thorough redesign of the muon propagation routine, resulting in a more accurate and efficient simulation. This paper presents the capabilities of the new gSeaGen code as well as prospects for further developments. Program title: gSeaGen CPC Library link to program files: https://doi.org/10.17632/ymgxvy2br4.2 Developer's respository link: git.km3net.de/opensource/gseagen Licensing provisions: BSD 3-Clause Programming language: C++ Nature of problem: Integration of the state-of-the-art extensive air shower Monte Carlo event generator CORSIKA [1] into the atmospheric muon simulation for water Cherenkov neutrino telescopes. The primary use case considered is the KM3NeT experiment [2] , however, the code should be able to cover other similar experiments as well. The challenges in this work included interfacing the CORSIKA binary output, efficient handling of already generated events to reduce the overall computational cost, and preserving all the additional available information, which can be invaluable in physics analyses. Solution method: The readout of CORSIKA simulation was adapted from the base script provided together with CORSIKA and implemented as a standalone flux driver in gSeaGen. The propagation routine has been redesigned to support the geometry of extensive air shower simulations and to improve its efficiency in propagating particles to the detector. To ensure a reliable modelling of muon energy loss and scattering, PROPOSAL [3] was set as the default internal code for muon transport. PROPOSAL is an open-source software developed and maintained by the IceCube collaboration [4] and is a well-established solution used by the neutrino physics community. Additional comments including restrictions and unusual features: The code was tested with GENIE [5] version 3.4.0 and PROPOSAL 6.1.5. Currently, linking of gSeaGen to GENIE is mandatory, even in the case of a muon-only simulation using CORSIKA. [1] D. Heck et al., FZKA-6019 (1998). [2] S. Adrián-Martínez et al., J. Phys. G, Nucl. Part. Phys. 43 (2016) 084001. [3] J. H. Koehne et al., Comput. Phys. Commun. 184 (2013) 2070. [4] M. G. Aartsen et al., 2017 JINST 12 P03012. [5] C. Andreopoulos et al., Nucl. Instrum. Meth. A614 (2010) 87.
Authors
- J Schumann
- J. Boumaaza (ORCID: https://orcid.org/0000-0003-2943-637X)
- R Cocimano
- S. Navas (ORCID: https://orcid.org/0000-0003-1688-5758)
- N Randazzo
- Riccardo Bruno (ORCID: https://orcid.org/0000-0002-3517-6597)
- M. Lamoureux (ORCID: https://orcid.org/0000-0002-8860-5826)
- S. Alves Garre (ORCID: https://orcid.org/0000-0003-1893-0858)
- M. Spurio (ORCID: https://orcid.org/0000-0002-8698-3655)
- M. Chabab (ORCID: https://orcid.org/0000-0002-2772-4290)
- Jonathan Mauro (ORCID: https://orcid.org/0009-0005-9324-7970)
- D. Calvo (ORCID: https://orcid.org/0000-0001-6006-7467)
- C.M. Mollo (ORCID: https://orcid.org/0000-0003-2766-8003)
- Francesca Magnani (ORCID: https://orcid.org/0000-0003-0812-9397)
- Miroslav D Filipović (ORCID: https://orcid.org/0000-0002-4990-9288)
- A Heijboer
- Y. Becherini (ORCID: https://orcid.org/0000-0002-2115-2930)
- D Franciotti
- D. Paesani (ORCID: https://orcid.org/0000-0001-7015-533X)
- L. Morales-Gallegos (ORCID: https://orcid.org/0000-0002-2241-4365)
- G. de Wasseige (ORCID: https://orcid.org/0000-0002-1010-5100)
- R. Dvornický
- E Eckerová
- F. Benfenati
- C. Bozza (ORCID: https://orcid.org/0000-0002-1797-6451)
- F. Mamedov (ORCID: https://orcid.org/0000-0003-0687-7164)
- Julia A. Schnabel (ORCID: https://orcid.org/0000-0001-6107-3009)
- G. Lévi (ORCID: https://orcid.org/0000-0003-1714-6359)
- C. Markou (ORCID: https://orcid.org/0000-0001-9930-7763)
- A. B. Bouasla
- D Diego-Tortosa
- A. Bariego-Quintana (ORCID: https://orcid.org/0000-0001-5187-7505)
- C. Lastoria (ORCID: https://orcid.org/0000-0003-3069-8713)
- A. Moussa (ORCID: https://orcid.org/0000-0003-2233-9120)
- A. Capone (ORCID: https://orcid.org/0000-0001-9657-6220)
- C. Distefano (ORCID: https://orcid.org/0000-0001-8632-1136)
- Z Bardačová
- S. Pulvirenti
- F. Longhitano (ORCID: https://orcid.org/0000-0001-5519-0786)
- M. Breuhaus (ORCID: https://orcid.org/0000-0003-0268-5122)
- M. Eff
- G. Vannoye (ORCID: https://orcid.org/0000-0002-2799-2762)
- D. Bonanno (ORCID: https://orcid.org/0000-0003-0223-3580)
- G Kistauri
- B. K. Gibson (ORCID: https://orcid.org/0000-0003-4446-3130)
- F. Šimkovic
- J. Seneca
- V Tsourapis
- B. Caiffi (ORCID: https://orcid.org/0000-0001-7134-7544)
- H. M. Schutte (ORCID: https://orcid.org/0000-0002-1769-5617)
- Sarah Sanfilippo
- John A. Robinson (ORCID: https://orcid.org/0000-0001-7857-8556)
- R Shanidze
- D. Real (ORCID: https://orcid.org/0000-0002-1038-7021)
- A Orlando
- H Thiersen
- Alberto Manfreda (ORCID: https://orcid.org/0000-0002-0998-4953)
- M Boettcher
- M.C. Bouwhuis (ORCID: https://orcid.org/0000-0001-6512-3683)
- F Carenini
- I. Mozun Mateo
- J. Brünner (ORCID: https://orcid.org/0000-0002-5052-7236)
- D. Vivolo (ORCID: https://orcid.org/0000-0002-4773-2116)
- T van Eeden
- L.S Di Mauro
- I. Tosta e Melo (ORCID: https://orcid.org/0000-0001-5833-4052)
- B. Nkosi (ORCID: https://orcid.org/0000-0003-0954-4779)
- P. Migliozzi (ORCID: https://orcid.org/0000-0001-5497-3594)
- I. Del Rosso (ORCID: https://orcid.org/0000-0002-2650-7606)
- Roland Müller (ORCID: https://orcid.org/0000-0003-0394-1650)
- P. Coyle (ORCID: https://orcid.org/0000-0003-1615-1957)
- J. Palacios González (ORCID: https://orcid.org/0000-0001-9292-9981)
- G. Ferrara (ORCID: https://orcid.org/0000-0002-1137-6252)
- M. Sanguineti (ORCID: https://orcid.org/0000-0002-7206-2097)
- M. Ardid (ORCID: https://orcid.org/0000-0002-3199-594X)
- P. Goswami
- N. Geißelbrecht
- S Ardid
- Christian Haack (ORCID: https://orcid.org/0000-0003-3932-2448)
- N Lessing
- G. Larosa (ORCID: https://orcid.org/0000-0002-9652-118X)
- H van Haren
- A Zegarelli
- David M. Benoit (ORCID: https://orcid.org/0000-0002-7773-6863)
- G. Riccobene (ORCID: https://orcid.org/0000-0002-0600-2774)
- L Gialanella
- P. Piattelli (ORCID: https://orcid.org/0000-0003-4748-6485)
- I.C Rea
- D Stavropoulos
- A. De Benedittis (ORCID: https://orcid.org/0000-0002-3439-957X)
- Valentina Parisi (ORCID: https://orcid.org/0000-0003-4614-474X)
- T. Pradier (ORCID: https://orcid.org/0000-0001-5501-0060)
- R. Kvatadze (ORCID: https://orcid.org/0009-0005-2656-4650)
- Manuel de la Cruz Gutierrez (ORCID: https://orcid.org/0000-0001-8796-941X)
- Paolo Castaldi (ORCID: https://orcid.org/0000-0001-5754-5616)
- T. Chiarusi (ORCID: https://orcid.org/0000-0001-8454-8644)
- A. Coleiro (ORCID: https://orcid.org/0000-0003-0860-440X)
- G Papalashvili
- A. Veutro (ORCID: https://orcid.org/0009-0002-9160-5808)
- S. Mastroianni (ORCID: https://orcid.org/0000-0002-9467-0851)
- M. Musumeci (ORCID: https://orcid.org/0000-0002-9384-4805)
- E. Drakopoulou (ORCID: https://orcid.org/0000-0003-2493-8039)
- A. Marinelli (ORCID: https://orcid.org/0000-0002-1466-1219)
- A. Yu. Romanov (ORCID: https://orcid.org/0000-0002-9410-9431)
- A Chen
- Ankur Sharma (ORCID: https://orcid.org/0000-0001-5397-6777)
- M. Taiuti (ORCID: https://orcid.org/0000-0001-9795-5169)
- A. Vacheret (ORCID: https://orcid.org/0000-0001-7792-4349)
- Elisa Giorgio (ORCID: https://orcid.org/0000-0003-4076-4649)
- S Cherubini
- F. Salesa Greus (ORCID: https://orcid.org/0000-0002-8610-8703)
- M. André (ORCID: https://orcid.org/0000-0002-0091-7279)
- J. A. B. Coelho (ORCID: https://orcid.org/0000-0001-5615-3899)
- I Di Palma
- Daniele Zito (ORCID: https://orcid.org/0009-0005-3021-1233)
- S. Razzaque (ORCID: https://orcid.org/0000-0002-0130-2460)
- S. Le Stum (ORCID: https://orcid.org/0000-0002-2501-5589)
- Sara Rebecca Gozzini (ORCID: https://orcid.org/0000-0001-5152-9631)
- D. Santonocito (ORCID: https://orcid.org/0000-0002-0143-3807)
- R. Pestes (ORCID: https://orcid.org/0000-0002-9634-1664)
- V. Cecchini (ORCID: https://orcid.org/0000-0003-4497-2584)
- L Hennig
- Antonio Ambrosone (ORCID: https://orcid.org/0000-0002-9942-1029)
- R. Buompane (ORCID: https://orcid.org/0000-0002-3369-9423)
- Valentin Decoene (ORCID: https://orcid.org/0000-0003-0318-707X)
- A. Simonelli (ORCID: https://orcid.org/0000-0002-9206-0347)
- B. Baret (ORCID: https://orcid.org/0000-0001-6064-3858)
- A. M. Păun (ORCID: https://orcid.org/0000-0001-7201-2148)
- G Cuttone
- L Cerisy
- L. Aphecetche (ORCID: https://orcid.org/0000-0001-7662-3878)
- R. Lahmann (ORCID: https://orcid.org/0009-0005-5493-1702)
- S. Gagliardini (ORCID: https://orcid.org/0000-0002-1832-2126)
- E. Tzamariudaki
- B. Spisso (ORCID: https://orcid.org/0000-0003-1491-6151)
- J. Zúñiga (ORCID: https://orcid.org/0000-0002-1041-6451)
- S. Biagi (ORCID: https://orcid.org/0000-0001-8598-0017)
- T. Gal (ORCID: https://orcid.org/0000-0001-7821-8673)
- S Thoudam
- S. Viola (ORCID: https://orcid.org/0000-0001-9511-8279)
- A. Šaina
- F. Bretaudeau (ORCID: https://orcid.org/0000-0001-8971-8788)
- G.E Păvălaş
- R Coniglione
- V. Kulikovskiy (ORCID: https://orcid.org/0000-0003-4096-5934)
- S. Aiello (ORCID: https://orcid.org/0000-0001-8435-2684)
- M. Bouta (ORCID: https://orcid.org/0000-0002-9903-0319)
- E.J. Pastor Gomez
- T. Cartraud
- H. Ghaddari
- M. L. Mitsou
- V. Oliviero (ORCID: https://orcid.org/0009-0004-9638-0825)
- M. Benhassi
- V. Valsecchi
- R. M. Bozza
- A. Eddymaoui
- V. Kueviakoe
- C.A Quiroz-Rangel (ORCID: https://orcid.org/0009-0002-3446-8747)
- Eliot Genton (ORCID: https://orcid.org/0009-0003-5263-972X)
- L. Martin (ORCID: https://orcid.org/0000-0002-9781-2632)
- A. F. Díaz (ORCID: https://orcid.org/0000-0002-2615-6586)
- Alfonso Garcia (ORCID: https://orcid.org/0000-0002-8186-2459)
- T. Eberl (ORCID: https://orcid.org/0000-0002-5301-9106)
- Veronique Van Elewyck (ORCID: https://orcid.org/0000-0002-8242-5453)
- Massimo Mastrodicasa (ORCID: https://orcid.org/0000-0002-9344-0050)
- M. Marconi (ORCID: https://orcid.org/0009-0008-0023-4647)
- F. Badaracco (ORCID: https://orcid.org/0000-0001-8553-7904)
- P. Kalaczyński (ORCID: https://orcid.org/0000-0001-9278-5906)
- S. Peña Martínez
- V. Pestel
- V. Popa (ORCID: https://orcid.org/0000-0002-3099-4857)
- Isabelle Lhenry-Yvon
- M. Perrin‐Terrin (ORCID: https://orcid.org/0000-0002-3568-1956)
- A. Sánchez‐Losa (ORCID: https://orcid.org/0000-0001-9596-7078)
- I. El Bojaddaini
- V. Carretero (ORCID: https://orcid.org/0000-0002-7540-0266)
- P. Sapienza (ORCID: https://orcid.org/0000-0002-6296-6105)
- E. Oukacha
- S Zavatarelli
- J. D. Zornoza (ORCID: https://orcid.org/0000-0002-1834-0690)
- W. Idrissi Ibnsalih
- A.R Alhebsi
- M Bennani
- V. Bertin
- Alba Domi (ORCID: https://orcid.org/0000-0002-9610-7296)
- S. Celli
- L. Fusco (ORCID: https://orcid.org/0000-0001-8254-3372)
- H. Brânzaş
- A. Kouchner (ORCID: https://orcid.org/0000-0001-7068-2113)
- A. Ukleja (ORCID: https://orcid.org/0000-0003-0480-4850)
- A. Lazo
- M. Lindsey Clark
- D. van Eijk
- E. Leonora
- B. Ó Fearraigh
- F. Vazquez de Sola (ORCID: https://orcid.org/0000-0003-1685-3270)
- B. Trocmé (ORCID: https://orcid.org/0000-0001-9500-2487)
- B. Guillon
- G. Vasileiadis
- R. Dallier (ORCID: https://orcid.org/0000-0001-9452-4849)
- C. Donzaud
- J. Busto
- C. A. Nicolau
- M. Labalme
- Y. Shitov
- G. Miele
- R. Bruijn
- E. Berbee
- N. Zywucka
- F. Filippini
- Y Tayalati
- S. El Hedri
- Bianca de Martino
- I. Goos
- V. Ellajosyula
- G Illuminati
- M. Alshamsi
- M. Bendahman (ORCID: https://orcid.org/0000-0002-2730-3445)
- A Sinopoulou
- R. Gracía
- A Nayerhoda
- C. Poirè (ORCID: https://orcid.org/0009-0002-7755-7379)
- M Circella
- I. Štekl (ORCID: https://orcid.org/0000-0002-5644-3164)
- D. Dornic
- A. Creusot
- A. Albert
- A Margiotta
- D. Drouhin (ORCID: https://orcid.org/0000-0002-9719-2277)
- B. J. Jung
- C. Guidi
- M. R. Musone
- J. Aublin
- J Majumdar
- Antonio Condorelli (ORCID: https://orcid.org/0000-0001-5681-0086)
- J. García Méndez (ORCID: https://orcid.org/0000-0002-1580-0647)
- J.J Hernández-Rey
- F. Ameli
- Lara Malerba
- D. Joly
- E de Wolf
- H. Atmani
- V. Lemaı̂tre
- J. Prado
- C. Kopper
- I. Sgura
- E. Buis (ORCID: https://orcid.org/0000-0002-4841-7097)
- J.-G. Ducoin
- E. Migneco
- A van Vliet
- G. Lehaut (ORCID: https://orcid.org/0000-0001-5137-9135)
- D.F.E Samtleben
- Clara Gatius Oliver (ORCID: https://orcid.org/0009-0002-1584-1788)
- A Enzenhöfer
- M. de Jong (ORCID: https://orcid.org/0009-0002-1192-7517)
- L. Bailly-Salins
- A. Tudorache (ORCID: https://orcid.org/0000-0001-6307-1437)
- Paul de Jong (ORCID: https://orcid.org/0000-0002-5330-2614)
Institutions
- Mohammed V University (MA)
- Centre National de la Recherche Scientifique (FR)
- Universitat de València (ES)
- Khalifa University of Science and Technology (AE)
- Institut Universitaire de France (FR)
- École Nationale Supérieure d'Ingénieurs de Caen (FR)
- Université Paris Cité (FR)
- Aix-Marseille Université (FR)
- Université de Haute-Alsace (FR)
- Laboratoire AstroParticule et Cosmologie (FR)
- Institut Pluridisciplinaire Hubert Curien (FR)
- Centre de physique des particules de Marseille (FR)
- Instituto de Física Corpuscular (ES)
- Normandie Université (FR)
- Istituto Nazionale di Fisica Nucleare, Sezione di Napoli (IT)
- Laboratoire de Physique Subatomique et des Technologies Associées (FR)
- Laboratoire de Physique Corpusculaire de Caen (FR)
- Istituto Nazionale di Fisica Nucleare, Sezione di Catania (IT)
- Istituto Nazionale di Fisica Nucleare, Sezione di Genova (IT)
- IMT Atlantique (FR)
- Institut National de Physique Nucléaire et de Physique des Particules (FR)
- Cidete (Spain) (ES)
- Istituto Nazionale di Fisica Nucleare, Sezione di Roma I (IT)
- Czech Technical University in Prague (CZ)
- Universitat Politècnica de València (ES)
- Université de Strasbourg (FR)
- Comenius University Bratislava (SK)
- University of Genoa (IT)
- Universitat Politècnica de Catalunya (ES)
- Nantes Université (FR)
- Université de Caen Normandie (FR)
Publication Details
- Journal
- Computer Physics Communications
- Published
- 2025-05-19
- DOI
- https://doi.org/10.1016/j.cpc.2025.109660
- Primary Topic
- Astrophysics and Cosmic Phenomena
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Science Foundation
- Belgian American Educational Foundation
- Arab Fund for Economic and Social Development
- European Commission
- Agence Nationale de la Recherche
- Grantová Agentura České Republiky
- Fundacja na rzecz Nauki Polskiej
- Fonds De La Recherche Scientifique - FNRS
- Nederlandse Organisatie voor Wetenschappelijk Onderzoek
- Generalitat Valenciana
- Khalifa University of Science, Technology and Research
- Narodowym Centrum Nauki
- Centre National de la Recherche Scientifique
- Shota Rustaveli National Science Foundation
- Agentúra na Podporu Výskumu a Vývoja
- Istituto Nazionale di Fisica Nucleare
- Région Normandie
- ESI Group
- Ministero dell'Università e della Ricerca
- European Regional Development Fund
- Agencia Estatal de Investigación
- Labex UnivEarthS