def hipe_cache(ifos, usertag, gps_start_time, gps_end_time):
    """
    return the name of the hipe cache

    ifos    = list of ifos
    usertag = usertag
    gps_start_time = start time of analysis
    gps_end_time   = end time of analysis
    """
    hipeCache = ''.join(ifos) + '-INSPIRAL_HIPE'
    if usertag:
        hipeCache += '_' + usertag
    hipeCache += '-' + str(gps_start_time) + '-' + str(gps_end_time -
        gps_start_time) + '.cache'
    return hipeCache
