A fast constant-fraction discriminator for separation with a lead/scintillating-fiber calorimeter