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 
0003 process = cms.Process("analysis")
0004 process.load("FWCore.MessageService.MessageLogger_cfi")
0005 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(10)
0006 process.load('Configuration.StandardSequences.Services_cff')
0007 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0008 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0009 process.load('JetMETCorrections.Configuration.JetCorrectionProducers_cff')
0010 process.load('RecoMET.METPUSubtraction.mvaPFMET_cff')
0011 
0012 # Other statements
0013 from Configuration.AlCa.GlobalTag import GlobalTag
0014 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_mc', '')
0015 
0016 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(20) )
0017 
0018 process.source = cms.Source("PoolSource",
0019                             fileNames = cms.untracked.vstring(
0020 "root://eoscms//eos/cms/store/relval/CMSSW_7_5_0_pre4/RelValZMM_13/GEN-SIM-RECO/PU50ns_MCRUN2_75_V0-v1/00000/24B4BCD7-22F8-E411-A740-0025905A48F2.root"
0021         ),
0022                             skipEvents = cms.untracked.uint32(0)                        
0023 )
0024 
0025 process.output = cms.OutputModule("PoolOutputModule",
0026                                   outputCommands = cms.untracked.vstring('keep *'),
0027                                   fileName = cms.untracked.string("MVaTest.root")
0028 )       
0029 
0030 process.ana      = cms.Sequence(process.pfMVAMEtSequence)
0031 process.p        = cms.Path(process.ana)
0032 process.outpath  = cms.EndPath(process.output)