To simplify things I would make a ``zz_object_types`` which looks like:

```python
zz_object_types = [('Elec', cms.InputTag("electronsForFinalStates")), ('Mu', cms.InputTag("muonsForFinalStates"))]
```

And then get rid of all the extra logic in lines 420-431