def METHOD_NAME(self, event):
    """Process event depending on if the event is significant for the
    searched event sequence.
    Event is significant if it matches the current event in the event_seq
    or if in the timeline it is between two consistent events from the
    event_seq.
    Args:
        event: Event to process.
    """
    if self.match_event(event):
        self.recording = True
        self.event_storage.append(event)
        self.num_event_to_find += 1
        if self.num_event_to_find == len(self.event_seq):
            self.flush_events()
        return
    if self.recording:
        self.event_storage.append(event)