Monte Carlo Simulation of the Photon-Tagger Focal-Plane Electronics at the MAX IV Laboratory Academic Article uri icon