When one element is present in one layer, the layers not containing the element are ignored.
Handle the case of no escape, no geometry, no detector.
Set the number of escape peaks.