Andrea,
would there be a particular reason why the special treatment is only for electrons and not for muons?
at all other places in this file, muons and electrons are treated equal