Skip to content

Commit

Permalink
fix the electronIDs for the miniAOD step
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Cupertino Ruiz Vargas committed Oct 10, 2014
1 parent d53dcae commit 3461364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PhysicsTools/SelectorUtils/python/tools/vid_id_tools.py
Expand Up @@ -30,7 +30,7 @@ def addVIDSelectionToPATProducer(patProducer,idProducer,idName):

def setupAllVIDIdsInModule(process,id_module_name,setupFunction,patProducer=None):
# idmod = importlib.import_module(id_module_name)
idmod= __import__(id_module_name)
idmod= __import__(id_module_name, globals(), locals(), ['idName','cutFlow'])
for name in dir(idmod):
item = getattr(idmod,name)
if hasattr(item,'idName') and hasattr(item,'cutFlow'):
Expand Down

0 comments on commit 3461364

Please sign in to comment.