select events based on pulseheights