a ghetto ... is a really a neighborhood, not a slum.

And to go back a little less far, the defining factor was really that the inhabitants were limited to that neighborhood, not being allowed out without special permission. This restriction could be taken as being imposed from within as well as from without.