Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:25:38

0001 import FWCore.ParameterSet.Config as cms
0002 from RecoMET.METPUSubtraction.deepMETProducer_cfi import deepMETProducer
0003 
0004 process = cms.Process('DeepMET')
0005 
0006 process.task = cms.Task()
0007 
0008 # import of standard configurations
0009 process.load('Configuration.StandardSequences.Services_cff')
0010 process.load('Configuration.EventContent.EventContent_cff')
0011 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0012 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0013 
0014 process.maxEvents = cms.untracked.PSet(
0015     input=cms.untracked.int32(-1)
0016 )
0017 
0018 # Input source
0019 process.source = cms.Source("PoolSource",
0020                             secondaryFileNames=cms.untracked.vstring(),
0021                             fileNames=cms.untracked.vstring(
0022                                 # '/store/relval/CMSSW_11_0_0_pre7/RelValTTbar_13/MINIAODSIM/PUpmx25ns_110X_mc2017_realistic_v1_rsb-v1/10000/A745F01B-D6C3-A843-97B7-2B12C7C0DD4E.root'),
0023                                 '/store/mc/RunIIAutumn18MiniAOD/TTTo2L2Nu_TuneCP5_13TeV-powheg-pythia8/MINIAODSIM/102X_upgrade2018_realistic_v15-v1/270000/9E5D0032-E9FB-6646-B1AB-67EA8B95FCCD.root'),
0024                             skipEvents=cms.untracked.uint32(0)
0025                             )
0026 
0027 process.deepMETProducer = deepMETProducer.clone()
0028 
0029 process.sequence = cms.Sequence(process.deepMETProducer)
0030 process.p = cms.Path(process.sequence)
0031 process.output = cms.OutputModule("PoolOutputModule",
0032                                   outputCommands=cms.untracked.vstring(
0033                                       'keep *'),
0034                                   fileName=cms.untracked.string(
0035                                       "DeepMETTest.root")
0036                                   )
0037 process.outpath  = cms.EndPath(process.output)