File indexing completed on 2024-04-06 12:23:59
0001
0002 from PhysicsTools.PatAlgos.patTemplate_cfg import *
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 from PhysicsTools.PatUtils.tools.runMETCorrectionsAndUncertainties import runMetCorAndUncFromMiniAOD
0015
0016 runMetCorAndUncFromMiniAOD(process)
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027 from PhysicsTools.PatAlgos.patInputFiles_cff import filesRelValTTbarPileUpMINIAODSIM
0028 process.source.fileNames = filesRelValTTbarPileUpMINIAODSIM
0029
0030 process.maxEvents.input = 10
0031
0032
0033
0034
0035 from Configuration.EventContent.EventContent_cff import MINIAODSIMEventContent
0036 process.out.outputCommands = MINIAODSIMEventContent.outputCommands
0037 process.out.outputCommands.append("keep *_slimmedMETs_*_*")
0038 process.out.outputCommands.append("keep *_patPFMet_*_*")
0039 process.out.outputCommands.append("keep *_patCHSMet_*_*")
0040 process.out.outputCommands.append("keep *_patTrkMet_*_*")
0041 process.out.outputCommands.append("keep *_patPFMetT1_*_*")
0042 process.out.outputCommands.append("keep *_patPFMetT1JetResDown_*_*")
0043 process.out.outputCommands.append("keep *_patPFMetT1JetResUp_*_*")
0044
0045 process.out.fileName = 'patTuple_updateMet_fromMiniAOD.root'
0046
0047