Shape analysis of wave functions in T-shaped quantum wires by means of magneto-photoluminescence spectroscopy