early code to fit JPsi->ee