Warning, /acts/Detray/detectors/README.md is written in an unsupported language. File is not indexed.
0001 ## Generating custom Detector Metadata
0002
0003 The scripts in the `python` folder use the tools in the detray python detector package to define various detector metadata headers in the `include` folder. A new generator file can be added here to the `python` folder, which will then be used during the cmake configuration step to generate the required detector metadata header for compilation of custom detector types (add `-DDETRAY_GENERATE_METADATA="my_metadata.py"` to the cmake setup)
0004
0005 To run any of the scripts manually, use the following:
0006 ```shell
0007 source path-to-detray-build/python/setup.sh
0008 python3 detray/detectors/python/odd_metadata.py
0009 ```