File indexing completed on 2024-04-06 12:33:08
0001 import os
0002 import FWCore.ParameterSet.Config as cms
0003
0004 process = cms.Process("METVALIDATION")
0005
0006 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0007 process.load('Configuration.StandardSequences.MagneticField_cff')
0008 process.load('Configuration.StandardSequences.Reconstruction_cff')
0009 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0010
0011
0012
0013
0014 process.GlobalTag.globaltag = '80X_mcRun2_asymptotic_2016_v3'
0015
0016 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0017 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0018
0019
0020
0021
0022
0023 process.load("Validation.RecoMET.METRelValForDQM_cff")
0024 process.load("Validation.RecoMET.METPostProcessor_cff")
0025
0026
0027 readFiles = cms.untracked.vstring()
0028 secFiles = cms.untracked.vstring()
0029 process.source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles)
0030 readFiles.extend( [
0031
0032
0033
0034
0035
0036 '/store/relval/CMSSW_8_0_3/RelValProdTTbar_13/MINIAODSIM/80X_mcRun2_asymptotic_2016_v3_gs7120p2NewGTv3-v1/00000/607105FE-D0EF-E511-BBC0-0CC47A78A426.root'
0037 ] );
0038
0039 process.load('Configuration/StandardSequences/EDMtoMEAtJobEnd_cff')
0040 process.dqmSaver.referenceHandling = cms.untracked.string('all')
0041
0042 cmssw_version = os.environ.get('CMSSW_VERSION','CMSSW_X_Y_Z')
0043 Workflow = '/JetMET/'+str(cmssw_version)+'/METValidation'
0044 process.dqmSaver.workflow = Workflow
0045 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0046
0047 process.dump = cms.EDAnalyzer("EventContentAnalyzer")
0048
0049 process.p = cms.Path(
0050
0051
0052
0053
0054 process.METValidationMiniAOD
0055 *process.METPostProcessor
0056 *process.METPostProcessorHarvesting
0057 *process.dqmSaver
0058 )
0059
0060