AlignableTrasnform should store the 'default position'
While debugging the ATLAS Muon geometry, @boudreau noticed that the AlignableTransforms were dumped with the alignment constants applied.
At the moment, both Transform
and AlignableTransform
objects are stored by taking their transformation with the use of the GeoTransform::getTransform()
method: https://gitlab.cern.ch/GeoModelDev/GeoModel/-/blob/main/GeoModelCore/GeoModelKernel/src/GeoTransform.cxx?ref_type=heads#L17-25
That method, however, is overwritten in the AlignableTransform class to return the transformation plus the alignment 'delta'; while getDefTransform()
returns the default position (no alignments). Both methods, instead, return the same transformation for Transform nodes.
Therefore, I updated the GeoModelWrite package to dump both transforms with the use of the getDefTransform()
method.