Expose ACTS unit constants to python
All threads resolved!
All threads resolved!
Compare changes
Files
5+ 13
− 0
As discussed in !47319 (merged), we want to make the ACTS unit constants available to the python configuration, and make sure they're in sync.
This MR adds a dictionary that is generated from the Acts/Definitions/Units.hpp
file and a wrapper python module that wraps it to hide the struct
trick needed to autoload the variables (this workaround is borrowed from xAODEgamma/EgammaParameters
. I also added a test that checks the current units in the ACTS header are available in python, and that they are non-zero.