Detection of photons generated in PbWO4 scintillator crystals