def get_ref_annotation_data_between_times(self, id_tier, start, end):
        """Give the ref annotations between times of the form
        ``[(start, end, value, refvalue)]``

        :param str tier: Name of the tier.
        :param int start: End time of the annotation of the parent.
        :param int end: Start time of the annotation of the parent.
        :returns: List of annotations at that time.
        :raises KeyError: If the tier is non existent.
        """
        bucket = []
        for aid, (ref, value, _, _) in self.tiers[id_tier][1].items():
            begin, end, rvalue, _ = self.tiers[self.annotations[ref]][0][ref]
            begin = self.timeslots[begin]
            end = self.timeslots[end]
            if begin <= end and end >= begin:
                bucket.append((begin, end, value, rvalue))
        return bucket
def get_ref_annotation_data_between_times(self, id_tier, start, end):
        
        bucket = []
        for aid, (ref, value, _, _) in self.tiers[id_tier][1].items():
            begin, end, rvalue, _ = self.tiers[self.annotations[ref]][0][ref]
            begin = self.timeslots[begin]
            end = self.timeslots[end]
            if begin <= end and end >= begin:
                bucket.append((begin, end, value, rvalue))
        return bucket
def get_ref_annotation_data_between_times ( self , id_tier , start , end ) : bucket = [ ] for aid , ( ref , value , _ , _ ) in self . tiers [ id_tier ] [ 1 ] . items ( ) : begin , end , rvalue , _ = self . tiers [ self . annotations [ ref ] ] [ 0 ] [ ref ] begin = self . timeslots [ begin ] end = self . timeslots [ end ] if begin <= end and end >= begin : bucket . append ( ( begin , end , value , rvalue ) ) return bucket
Give the ref annotations between times of the form
        ``[(start, end, value, refvalue)]``

        :param str tier: Name of the tier.
        :param int start: End time of the annotation of the parent.
        :param int end: Start time of the annotation of the parent.
        :returns: List of annotations at that time.
        :raises KeyError: If the tier is non existent.
Give the ref annotations between times of the form [ ( start end value refvalue ) ]