137 objectMatcher = getattr(process, matcherName+postfix)
138 if (producerName==
'pfPatMuons'or producerName==
'pfPatTaus'):
140 getattr(process,
"PFPATafterPAT"+postfix).
remove(objectMatcher)
141 if (producerName==
'patMuons'or producerName==
'patTaus'or 142 producerName==
'patPhotons' or producerName==
'patElectrons'):
143 getattr(process,
"patHeavyIonDefaultSequence"+postfix).
remove(objectMatcher)
145 objectProducer = getattr(process, producerName+postfix)
146 objectProducer.addGenMatch =
False 147 objectProducer.embedGenMatch =
False 148 objectProducer.genParticleMatch =
''
def remove(d, key, TELL=False)