Fix find trigger offset for event with bad trace

If a baseline can not be determined for a trace.
The baseline/pulseheight/integral/.. are set to -999.
The trace may still have participated in the trigger,
just ignore trace from not-present detectors (-1).