CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
heavyIonJetSetup.py
Go to the documentation of this file.
1 def removeL1FastJetJECs(process):
2  for label in process.producerNames().split():
3  module = getattr(process, label)
4  if module.type_() == "PATPFJetMETcorrInputProducer":
5  module.offsetCorrLabel = ''
6 
7 def removeJECsForMC(process):
8  for label in process.producerNames().split():
9  module = getattr(process, label)
10  if module.type_() == "PATPFJetMETcorrInputProducer":
11  module.jetCorrLabel = 'Uncorrected'
12 
13  process.basicJetsForMet.jetCorrLabel = 'Uncorrected'