File indexing completed on 2023-03-17 11:16:22
0001 def removeL1FastJetJECs(process):
0002 for label in process.producerNames().split():
0003 module = getattr(process, label)
0004 if module.type_() == "PATPFJetMETcorrInputProducer":
0005 module.offsetCorrLabel = ''
0006
0007 def removeJECsForMC(process):
0008 for label in process.producerNames().split():
0009 module = getattr(process, label)
0010 if module.type_() == "PATPFJetMETcorrInputProducer":
0011 module.jetCorrLabel = 'Uncorrected'
0012
0013 process.basicJetsForMet.jetCorrLabel = 'Uncorrected'