Skip to content

Small modernization creation of a library in TAlignment

Sebastien Ponce requested to merge sponce_splielibmodule into master

The goal of the library is to host AlignAlgorithm and its dependencies so that it can be used in python via cppyy. This will avoid going through the Detector Store for the output of the alignment process, which is not a proper solution and not even possible at all with DD4hep.

If you wonder why it's not "proper", this is because accessing the Detector store requires in principle to now which conditions to load, requiring in turn to know which event we are dealing with. Now at the end of the alignment process (finalize stage), we have no event and thus no access to the DetectorStore. Current implementation abuses the system by still going there and using "what is left", in a very non thread safe mode. But DD4hep's implementation of the interface is safe and thus won't let you access without a proper event.

Merge request reports