Electronic structure of the high Tc superconductor Ba2YCu3O6.9