Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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 ##____________________________________________________________________________||
0010 process.load("RecoMET.METProducers.CaloMET_cfi")
0011 process.load("RecoMET.METProducers.METSigParams_cfi")
0012 process.load("RecoMET.METProducers.caloMetM_cfi")
0013 process.load("RecoJets.Configuration.CaloTowersRec_cff")
0014 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0015 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0016 process.load("RecoLocalCalo.Configuration.RecoLocalCalo_cff")
0017 
0018 ##____________________________________________________________________________||
0019 from Configuration.AlCa.GlobalTag import GlobalTag
0020 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:startup', '')
0021 
0022 ##____________________________________________________________________________||
0023 from RecoMET.METProducers.testInputFiles_cff import recoMETtestInputFiles
0024 
0025 process.source = cms.Source(
0026     "PoolSource",
0027     fileNames = cms.untracked.vstring(recoMETtestInputFiles)
0028     )
0029 
0030 ##____________________________________________________________________________||
0031 process.out = cms.OutputModule(
0032     "PoolOutputModule",
0033     fileName = cms.untracked.string('recoMET_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.caloMetWithSignificance = process.caloMet.clone(
0048     process.METSignificance_params,
0049     calculateSignificance = cms.bool(True)
0050     )
0051 
0052 ##____________________________________________________________________________||
0053 process.p = cms.Path(
0054     process.towerMakerWithHO *
0055     process.caloMet *
0056     process.caloMetBEFO *
0057     process.caloMetBE *
0058     process.caloMetBEO *
0059     process.caloMetM *
0060     process.caloMetWithSignificance
0061     )
0062 
0063 process.e1 = cms.EndPath(
0064     process.out
0065     )
0066 
0067 ##____________________________________________________________________________||