Back to home page

Project CMSSW displayed by LXR

 
 

    


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 #process.GlobalTag.globaltag = 'START42_V17::All'
0012 ##process.GlobalTag.globaltag = 'MC_38Y_V14::All'
0013 ## for 6_2_0 QCD
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 # DQM
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        #for RECO
0032         #'/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',
0033         #'/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' 
0034         #for MINIAODtests 
0035         #'/store/relval/CMSSW_7_3_0_pre1/RelValTTbar_13/MINIAODSIM/PU50ns_PRE_LS172_V16-v1/00000/9886ACB4-F45E-E411-9E5D-02163E00F01E.root' 
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(#for RECO
0050                      #process.dump*
0051                      #process.metPreValidSeq*
0052                      #process.METValidation
0053                      #for MiniAOD
0054                      process.METValidationMiniAOD
0055                      *process.METPostProcessor
0056                      *process.METPostProcessorHarvesting
0057                      *process.dqmSaver
0058 )
0059 
0060