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.MuonTCMETValueMapProducer_cff")
0011 process.load("RecoMET.METProducers.TCMET_cfi")
0012 process.load("RecoMET.METProducers.CaloMET_cfi")
0013 process.load("RecoMET.Configuration.RecoTCMET_cff")
0014 process.load("Configuration.StandardSequences.GeometryDB_cff")
0015 process.load("Configuration.StandardSequences.MagneticField_cff")
0016 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0017 process.load('RecoParticleFlow.PFClusterProducer.particleFlowCluster_cff')
0018 process.load("RecoLocalCalo.Configuration.RecoLocalCalo_cff")
0019 process.load("RecoLuminosity.LumiProducer.bunchSpacingProducer_cfi")
0020 
0021 ##____________________________________________________________________________||
0022 from Configuration.AlCa.GlobalTag import GlobalTag
0023 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:startup', '')
0024 
0025 ##____________________________________________________________________________||
0026 from RecoMET.METProducers.testInputFiles_cff import recoMETtestInputFiles
0027 
0028 process.source = cms.Source(
0029     "PoolSource",
0030     fileNames = cms.untracked.vstring(recoMETtestInputFiles)
0031     )
0032 
0033 ##____________________________________________________________________________||
0034 process.out = cms.OutputModule(
0035     "PoolOutputModule",
0036     fileName = cms.untracked.string('recoMET_tcMet.root'),
0037     SelectEvents   = cms.untracked.PSet( SelectEvents = cms.vstring('p') ),
0038     outputCommands = cms.untracked.vstring(
0039         'drop *',
0040         'keep *_*_*_TEST'
0041         )
0042     )
0043 
0044 ##____________________________________________________________________________||
0045 process.options   = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
0046 process.MessageLogger.cerr.FwkReport.reportEvery = 50
0047 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
0048 
0049 ##____________________________________________________________________________||
0050 process.tcMetCST = process.tcMet.clone()
0051 process.tcMetCST.correctShowerTracks = cms.bool(True)
0052 
0053 process.tcMetRft2 = process.tcMet.clone()
0054 process.tcMetRft2.rf_type = cms.int32(2)
0055 
0056 process.tcMetVedu = process.tcMet.clone()
0057 process.tcMetVedu.vetoDuplicates = cms.bool(True)
0058 
0059 ##____________________________________________________________________________||
0060 process.p = cms.Path(
0061     process.bunchSpacingProducer *
0062     process.particleFlowCluster *
0063     process.muonTCMETValueMapProducer *
0064     process.tcMet *
0065     process.tcMetCST *
0066     process.tcMetRft2 *
0067     process.tcMetVedu *
0068     process.tcMetWithPFclusters
0069     )
0070 
0071 process.e1 = cms.EndPath(
0072     process.out
0073     )
0074 
0075 ##____________________________________________________________________________||