def select_component_mass(gx_component):
    """Select the Galactic component mass according to
    McMillan (2011)

    Parameters
    ----------
    gx_component : str
        Choose from: 'ThinDisk', 'Bulge', 'ThickDisk'

    Returns
    -------
    gx_component_mass : float
        Galactic component mass [Msun]
    """
    if gx_component == 'ThinDisk':
        gx_component_mass = 43200000000.0
    elif gx_component == 'Bulge':
        gx_component_mass = 8900000000.0
    elif gx_component == 'ThickDisk':
        gx_component_mass = 14400000000.0
    return gx_component_mass
