Spin-parity analysis of the B meson