We have been studying a high quality electron beam generated by a photocathode rf gun at Waseda University. The electron beam is applied to various experiments. In those application, longitudinal parameters of the electron beam are important. For this reason, we developed the rf deflector system which has high temporal resolution and can directly convert longitudinal distribution of the beam to transverse, and performed longitudinal profile measurements of an electron beam from the rf gun. During a series of experiments using the rf deflector, we found that the bunch had a horizontal angle with respect to z axis. Thus we investigated the mechanism of bunch tilting. In addition, we reconstructed three-dimensional profiles of the bunch by computed tomography in order to consider vertical angle. In this conference, we report the principle of measurement, experimental results of the bunch tilt angle and three-dimensional measurement, and future prospects.