Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 ## import skeleton process
0002 from PhysicsTools.PatAlgos.patTemplate_cfg import *
0003 
0004 #process.Tracer = cms.Service("Tracer")
0005 
0006 ## load met sequences up to patMETs
0007 process.load("PhysicsTools.PatAlgos.producersLayer1.metProducer_cff")
0008 patAlgosToolsTask.add(process.makePatMETsTask)
0009 
0010 ## make sure to keep the created objects
0011 process.out.outputCommands = ['keep *_patMETs*_*_*']
0012 
0013 ## ------------------------------------------------------
0014 #  In addition you usually want to change the following
0015 #  parameters:
0016 ## ------------------------------------------------------
0017 #
0018 #   process.GlobalTag.globaltag =  ...    ##  (according to https://twiki.cern.ch/twiki/bin/view/CMS/SWGuideFrontierConditions)
0019 #                                         ##
0020 from PhysicsTools.PatAlgos.patInputFiles_cff import filesRelValProdTTbarAODSIM
0021 process.source.fileNames = filesRelValProdTTbarAODSIM
0022 #                                         ##
0023 process.maxEvents.input = 100
0024 #                                         ##
0025 #   process.out.outputCommands = [ ... ]  ##  (e.g. taken from PhysicsTools/PatAlgos/python/patEventContent_cff.py)
0026 #                                         ##
0027 process.out.fileName = 'patTuple_onlyMET.root'
0028 #                                         ##
0029 #   process.options.wantSummary = False   ##  (to suppress the long output at the end of the job)