File indexing completed on 2024-04-06 12:09:33
0001 import os
0002 import FWCore.ParameterSet.Config as cms
0003
0004 process = cms.Process("JetMETDQMOffline")
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0007
0008 from Configuration.StandardSequences.GeometryRecoDB_cff import *
0009 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0010 process.load('Configuration.StandardSequences.MagneticField_cff')
0011 process.load('Configuration.StandardSequences.Reconstruction_cff')
0012 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0013 process.load('Configuration.StandardSequences.Services_cff')
0014
0015
0016 process.GlobalTag.globaltag ='76X_mcRun2_asymptotic_v5'
0017
0018
0019 process.load("DQMServices.Components.DQMStoreStats_cfi")
0020
0021 readFiles = cms.untracked.vstring()
0022 secFiles = cms.untracked.vstring()
0023 process.source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles)
0024 readFiles.extend( [
0025 '/store/relval/CMSSW_7_6_0_pre7/RelValQCD_FlatPt_15_3000HS_13/MINIAODSIM/76X_mcRun2_asymptotic_v5-v1/00000/7E692CF1-2971-E511-9609-0025905A497A.root',
0026 '/store/relval/CMSSW_7_6_0_pre7/RelValQCD_FlatPt_15_3000HS_13/MINIAODSIM/76X_mcRun2_asymptotic_v5-v1/00000/B4DD46D7-2971-E511-B4DD-0025905A4964.root'
0027
0028
0029
0030
0031
0032 ] );
0033
0034
0035 secFiles.extend( [
0036 ] )
0037
0038
0039 process.maxEvents = cms.untracked.PSet(
0040 input = cms.untracked.int32( -1 )
0041 )
0042
0043 process.load("DQMOffline.JetMET.dataCertificationJetMET_cff")
0044
0045 process.load('Configuration/StandardSequences/EDMtoMEAtJobEnd_cff')
0046 process.dqmSaver.referenceHandling = cms.untracked.string('all')
0047
0048
0049
0050
0051 process.load("DQMOffline.JetMET.jetMETDQMOfflineSource_cff")
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061 cmssw_version = os.environ.get('CMSSW_VERSION','CMSSW_X_Y_Z')
0062 Workflow = '/JetMET/'+str(cmssw_version)+'/Harvesting'
0063 process.dqmSaver.workflow = Workflow
0064
0065 process.dump = cms.EDAnalyzer("EventContentAnalyzer")
0066
0067 process.p = cms.Path(
0068 process.jetMETDQMOfflineSourceMiniAOD*
0069
0070
0071
0072
0073 process.dataCertificationJetMETSequence*
0074 process.dqmSaver
0075 )