Most interfaces using geometry were not passing it explicitly, relying on low level globals and caches to find out the right one by magic.
This is no more possible for at least 2 reasons :
- in multi-threading mode, several geometries may be in flight concurrently
- DD4hep requires explicit geometry passing
On the way, a fair amount of code refactoring was made, including :
- merging of .h into .cpp when possible
- cleaning up of unneeded code (e.g. many empty destructors)
- sorting out includes