def join_eb_ee(eb, ee, name=''):
    """
    combined 2 icCMS (one for EB, one for EE) into a single one for all Ecal
    """
    out = ee.copy()
    out.iov = ee.iov.where(eb.iov['iz'] != 0, eb.iov)
    out.name = name
    return out
