Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:33:41

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 #process.GlobalTag.globaltag = 'START42_V17::All'
0012 ##process.GlobalTag.globaltag = 'MC_38Y_V14::All'
0013 ## for 6_2_0 QCD
0014 process.GlobalTag.globaltag = '76X_mcRun2_asymptotic_v4'
0015 
0016 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0017 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0018 #
0019 #
0020 # DQM
0021 #
0022 
0023 process.load("Validation.RecoJets.JetValidation_cff")
0024 process.load("Validation.RecoJets.JetPostProcessor_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        '/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',
0032        '/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' 
0033        #'/store/relval/CMSSW_7_6_0_pre6/RelValTTbar_13/GEN-SIM-RECO/PU25ns_76X_mcRun2_asymptotic_v4-v1/00000/5C506D9D-AA6B-E511-8AB0-003048FFD732.root',
0034        #'/store/relval/CMSSW_7_6_0_pre6/RelValTTbar_13/GEN-SIM-RECO/PU25ns_76X_mcRun2_asymptotic_v4-v1/00000/5E68FFC6-B66B-E511-9085-0025905A6084.root',
0035        #'/store/relval/CMSSW_7_6_0_pre6/RelValTTbar_13/GEN-SIM-RECO/PU25ns_76X_mcRun2_asymptotic_v4-v1/00000/724E805D-816C-E511-A163-0025905B8562.root',
0036        #'/store/relval/CMSSW_7_6_0_pre6/RelValTTbar_13/GEN-SIM-RECO/PU25ns_76X_mcRun2_asymptotic_v4-v1/00000/88117A83-A76B-E511-9A30-002590596490.root'
0037         #'/store/relval/CMSSW_7_6_0_pre6/RelValTTbar_13/MINIAODSIM/PU25ns_76X_mcRun2_asymptotic_v4-v1/00000/0847033F-706C-E511-8170-0025905A60CE.root',
0038        #'/store/relval/CMSSW_7_6_0_pre6/RelValTTbar_13/MINIAODSIM/PU25ns_76X_mcRun2_asymptotic_v4-v1/00000/98244E0E-C56C-E511-A5AF-0025905B85EE.root',
0039        #'/store/relval/CMSSW_7_6_0_pre6/RelValTTbar_13/MINIAODSIM/PU25ns_76X_mcRun2_asymptotic_v4-v1/00000/B6EB8FF6-C46C-E511-911A-0025905B8592.root',
0040        #'/store/relval/CMSSW_7_6_0_pre6/RelValTTbar_13/MINIAODSIM/PU25ns_76X_mcRun2_asymptotic_v4-v1/00000/FABE0A3D-6F6C-E511-A404-0025905A6076.root' 
0041 ] );
0042 
0043 process.load('Configuration/StandardSequences/EDMtoMEAtJobEnd_cff')
0044 process.dqmSaver.referenceHandling = cms.untracked.string('all')
0045 #
0046 cmssw_version = os.environ.get('CMSSW_VERSION','CMSSW_X_Y_Z')
0047 Workflow = '/JetMET/'+str(cmssw_version)+'/JetValidation'
0048 process.dqmSaver.workflow = Workflow
0049 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0050 
0051 process.dump = cms.EDAnalyzer("EventContentAnalyzer")
0052 
0053 process.p = cms.Path(#process.dump*
0054                      #for RECO
0055                      #process.jetPreValidSeq*
0056                      #process.JetValidation*
0057                      #for MiniAOD
0058                      process.JetValidationMiniAOD*
0059                      process.JetPostProcessor
0060                      *process.dqmSaver
0061 )
0062 
0063