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