def getNamesFromSEGResIDBase(dfSegsNodesNDataDpkt
                            ,SEGResIDBase):
    """
    Returns tuple (DIVPipelineName,SEGName) from SEGResIDBase
    """    
    df=dfSegsNodesNDataDpkt[dfSegsNodesNDataDpkt['SEGResIDBase']==SEGResIDBase]
    if not df.empty:
        return (df['DIVPipelineName'].iloc[0],df['SEGName'].iloc[0])