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.pfMet_cfi")
0011 process.load("RecoMET/METProducers.METSignificanceParams_cfi")
0012 process.load("RecoMET/METProducers.METSignificanceObjects_cfi")
0013 
0014 ##____________________________________________________________________________||
0015 process.source = cms.Source(
0016     "PoolSource",
0017     fileNames = cms.untracked.vstring(
0018        "/store/relval/CMSSW_7_3_0_pre1/RelValZEE_13/GEN-SIM-RECO/PRE_LS172_V15-v1/00000/C2212C6F-EB59-E411-AB78-0025905B85EE.root",
0019        "/store/relval/CMSSW_7_3_0_pre1/RelValZEE_13/GEN-SIM-RECO/PRE_LS172_V15-v1/00000/F0DAE66D-EB59-E411-95AF-0025905A6088.root"
0020        )
0021     )
0022 
0023 ##____________________________________________________________________________||
0024 process.out = cms.OutputModule(
0025     "PoolOutputModule",
0026     fileName = cms.untracked.string('recoMET_pfMet.root'),
0027     SelectEvents   = cms.untracked.PSet( SelectEvents = cms.vstring('p') ),
0028     outputCommands = cms.untracked.vstring(
0029         'drop *',
0030         'keep *_*_*_TEST'
0031         )
0032     )
0033 
0034 ##____________________________________________________________________________||
0035 process.options   = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
0036 process.MessageLogger.cerr.FwkReport.reportEvery = 50
0037 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
0038 
0039 ##____________________________________________________________________________||
0040 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0041 from Configuration.AlCa.GlobalTag import GlobalTag
0042 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0043 
0044 process.load('Configuration.StandardSequences.Services_cff')
0045 process.load("JetMETCorrections.Modules.JetResolutionESProducer_cfi")
0046 from CondCore.CondDB.CondDB_cfi import *
0047 
0048 ##____________________________________________________________________________||
0049 process.pfMetWithSignificance = process.pfMet.clone(
0050     calculateSignificance = cms.bool(True),
0051     srcJets = cms.InputTag("ak4PFJetsCHS"),
0052     srcJetSF = cms.string('AK4PFchs'),
0053     srcJetResPt = cms.string('AK4PFchs_pt'),
0054     srcJetResPhi = cms.string('AK4PFchs_phi'),
0055     srcRho = cms.InputTag('fixedGridRhoAll'),
0056     srcLeptons = cms.VInputTag("selectedElectrons", "selectedMuons", "selectedPhotons"),
0057     parameters = process.METSignificanceParams
0058     )
0059 
0060 ##____________________________________________________________________________||
0061 process.p = cms.Path(
0062     process.selectionSequenceForMETSig *
0063     process.pfMetWithSignificance *
0064     process.pfMet
0065     )
0066 
0067 process.e1 = cms.EndPath(
0068     process.out
0069     )
0070 
0071 ##____________________________________________________________________________||