diff --git a/PhysicsTools/NanoAOD/python/nanogen_cff.py b/PhysicsTools/NanoAOD/python/nanogen_cff.py index 437d3869a3776..45a8059ee40f2 100644 --- a/PhysicsTools/NanoAOD/python/nanogen_cff.py +++ b/PhysicsTools/NanoAOD/python/nanogen_cff.py @@ -98,6 +98,8 @@ def customizeNanoGEN(process): process.nanogenSequence.remove(process.genParticles2HepMCHiggsVtx) process.nanogenSequence.remove(process.genParticles2HepMC) process.nanogenSequence.remove(process.mergedGenParticles) + process.nanogenSequence.remove(process.genIso) + delattr(process.genParticleTable.externalVariables,"iso") nanoGenCommonCustomize(process) return process