Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:33:00

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'