Change DD4hep Attribute handling
Closes #645 (closed)
This changes the fragile hasAttr(const XmlChar* att)
access with a more robust way of translating the ProtoMaterial
prescription. Details are explained in the #645 (closed)
As a side-effect, it synchronises layer_material
and boundary_material
encoding for DD4hep
.
Edited by Andreas Salzburger