celeritas-project / celeritas

Celeritas is a new Monte Carlo transport code designed to accelerate scientific discovery in high energy physics by improving detector simulation throughput and energy efficiency using GPUs.
https://celeritas-project.github.io/celeritas/
Other
65 stars 35 forks source link

Replace SWIG with JSON (via ROOT export) for data exploration #1380

Closed sethrj closed 3 months ago

sethrj commented 3 months ago

This adds an option in celer-export-geant to export our "import data" to JSON using ROOT's helpful reflection/introspection tools. Since it's easier to read and parse this format compared to ROOT or SWIG, I think continuing to move toward JSON for I/O is a smart move.