filter_events_abcd function

Filter ABCD events