A large-acceptance, highly segmented electromagnetic lead glass calorimeter for Experiment E781 (SELEX) at Fermi National Acceleration Laboratory was designed and built. This detector has been used to reconstruct photons and electrons with energies ranging from few GeV up to 500 GeV in the collisions of the 650 GeV (Sigma)(sup -) hyperons and (pi)(sup -) mesons with the target nucleons. The design, calibration and performance of the calorimeter are described. Energy resolution and position resolution are assessed using both calibration electron beams and (pi)(sup 0) mesons reconstructed in 650 GeV hadron-hadron interactions. The performance of the calorimeter in selecting resonant states that involve photons is demonstrated.