Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:21:41

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 ##____________________________________________________________________________||
0004 process = cms.Process("TEST")
0005 
0006 ##____________________________________________________________________________||
0007 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0008 
0009 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0010 process.load("Configuration.StandardSequences.MagneticField_cff")
0011 
0012 ##____________________________________________________________________________||
0013 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0014 from Configuration.AlCa.GlobalTag import GlobalTag
0015 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0016 
0017 ##____________________________________________________________________________||
0018 process.load("JetMETCorrections.Type1MET.correctionTermsCaloMet_cff")
0019 
0020 ##____________________________________________________________________________||
0021 process.load("JetMETCorrections.Type1MET.correctedMet_cff")
0022 
0023 ##____________________________________________________________________________||
0024 from JetMETCorrections.Type1MET.testInputFiles_cff import corrMETtestInputFiles
0025 process.source = cms.Source(
0026     "PoolSource",
0027     fileNames = cms.untracked.vstring(corrMETtestInputFiles)
0028     )
0029 
0030 ##____________________________________________________________________________||
0031 process.out = cms.OutputModule(
0032     "PoolOutputModule",
0033     fileName = cms.untracked.string('corrMET_caloMet.root'),
0034     SelectEvents   = cms.untracked.PSet( SelectEvents = cms.vstring('p') ),
0035     outputCommands = cms.untracked.vstring(
0036         'drop *',
0037         'keep *_*_*_TEST'
0038         )
0039     )
0040 
0041 ##____________________________________________________________________________||
0042 process.options   = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
0043 process.MessageLogger.cerr.FwkReport.reportEvery = 50
0044 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
0045 
0046 ##____________________________________________________________________________||
0047 process.p = cms.Path(
0048     process.correctionTermsCaloMet +
0049     process.caloMetT1 + 
0050     process.caloMetT1T2
0051     )
0052 
0053 process.e1 = cms.EndPath(
0054     process.out
0055     )
0056 
0057 ##____________________________________________________________________________||