Photon multiplicity measurement for the study of reaction mechanism of ultrarelativistic nucleus nucleus collisions