def get_events_with_error_code(event_number, event_status, select_mask=<NUM_LIT>, condition=<NUM_LIT>):
logging.debug("<STR_LIT>")<EOL>return np.unique(event_number[event_status & select_mask == condition])<EOL>
Selects the events with a certain error code.

    Parameters
    ----------
    event_number : numpy.array
    event_status : numpy.array
    select_mask : int
        The mask that selects the event error code to check.
    condition : int
        The value the selected event error code should have.

    Returns
    -------
    numpy.array