## remove MC matching from the default sequence removeMCMatching(process) runOnData(process) ## remove certain objects from the default sequence # removeAllPATObjectsBut(process, ['Muons']) # removeSpecificPATObjects(process, ['Electrons', 'Muons', 'Taus']) process.load("CommonTools/RecoAlgos/HBHENoiseFilter_cfi") process.load("RecoTauTag.Configuration.RecoPFTauTag_cff") from PhysicsTools.PatAlgos.tools.muonTools import addMuonUserIsolation addMuonUserIsolation(process) ## uncomment the following line to add tcMET to the event content from PhysicsTools.PatAlgos.tools.metTools import * addTcMET(process, 'TC') addPfMET(process, 'PF') ## uncomment the following line to add different jet collections ## to the event content from PhysicsTools.PatAlgos.tools.jetTools import * ##-------------------- Import the JEC services ----------------------- process.load('JetMETCorrections.Configuration.DefaultJEC_cff') ##-------------------- Disable the CondDB for the L1Offset (until they are included in a new global tag) ------- process.ak5CaloL1Offset.useCondDB = False process.ak5PFL1Offset.useCondDB = False
## remove MC matching from the default sequence removeMCMatching(process) runOnData(process) ## remove certain objects from the default sequence # removeAllPATObjectsBut(process, ['Muons']) # removeSpecificPATObjects(process, ['Electrons', 'Muons', 'Taus']) process.load("CommonTools/RecoAlgos/HBHENoiseFilter_cfi") process.load("RecoTauTag.Configuration.RecoPFTauTag_cff") from PhysicsTools.PatAlgos.tools.muonTools import addMuonUserIsolation addMuonUserIsolation(process) ## uncomment the following line to add tcMET to the event content from PhysicsTools.PatAlgos.tools.metTools import * addTcMET(process, 'TC') addPfMET(process, 'PF') ## uncomment the following line to add different jet collections ## to the event content from PhysicsTools.PatAlgos.tools.jetTools import * ##-------------------- Import the JEC services ----------------------- process.load('JetMETCorrections.Configuration.DefaultJEC_cff') ##-------------------- Disable the CondDB for the L1Offset (until they are included in a new global tag) ------- process.ak5CaloL1Offset.useCondDB = False