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/user/index.html
Other
58 stars 32 forks source link

Write converted object and CSG metadata for debugging #1259

Closed sethrj closed 3 weeks ago

sethrj commented 1 month ago

This adds lots of delicious JSON diagnostic output to the ORANGE converter. The way to generate this currently (and to build the full ORANGE surface input at the same time) is to use the 'converter' unit test:

$ GDML=foo.gdml ./test/orange/orange_g4org_Converter --gtest_filter=ConverterTest.DISABLED_arbitrary --gtest_also_run_disabled_tests
# Generate the global universe (id 0)
$ ../scripts/user/orange-csg-to-dot.py -u 0 foo.gdml.csg.json | dot -Tpdf -o foo.pdf

tiletb-parent

sethrj commented 4 weeks ago

@elliottbiondo This one is also ready for review if you want

elliottbiondo commented 4 weeks ago

(will do today)