Support both 3.56 (LHCB_layer) and newer versions of Photos++
@gcorti This has been extracted from !21 (comment 4272665) as it needs further modernization. Similar changes in Gauss: lhcb/Gauss!718 (merged)
@gcorti This has been extracted from !21 (comment 4272665) as it needs further modernization. Similar changes in Gauss: lhcb/Gauss!718 (merged)