Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:11:09

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Run2_2017_cff import Run2_2017
0004 process = cms.Process('DQM',Run2_2017)
0005 
0006 process.load('Configuration.StandardSequences.Services_cff')
0007 process.load('FWCore.MessageService.MessageLogger_cfi')
0008 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0009 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0010 process.load('Configuration.StandardSequences.MagneticField_cff')
0011 process.load('Configuration.StandardSequences.RawToDigi_cff')
0012 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0013 
0014 process.load('DQMOffline.Configuration.DQMOfflineMC_cff')
0015 process.load('Configuration.StandardSequences.Harvesting_cff')
0016 process.load('Configuration.StandardSequences.DQMSaverAtRunEnd_cff')
0017 
0018 process.maxEvents = cms.untracked.PSet(
0019     input = cms.untracked.int32(-1)
0020 )
0021 process.options = cms.untracked.PSet()
0022 process.MessageLogger.cerr.FwkReport.reportEvery = 100
0023 
0024 process.source = cms.Source("PoolSource",
0025     fileNames = cms.untracked.vstring(
0026         '/store/relval/CMSSW_9_3_0_pre4/RelValSingleMuPt100/GEN-SIM-RECO/93X_mc2017_realistic_v1-v1/00000/2CB3B693-5286-E711-9BD2-003048FFD7AA.root',
0027         '/store/relval/CMSSW_9_3_0_pre4/RelValSingleMuPt100/GEN-SIM-RECO/93X_mc2017_realistic_v1-v1/00000/38CF6891-5286-E711-A48C-0CC47A78A3B4.root',
0028     ),
0029     secondaryFileNames = cms.untracked.vstring(
0030         '/store/relval/CMSSW_9_3_0_pre4/RelValSingleMuPt100/GEN-SIM-DIGI-RAW/93X_mc2017_realistic_v1-v1/00000/56E52423-4986-E711-A1D3-0025905A6066.root',
0031         '/store/relval/CMSSW_9_3_0_pre4/RelValSingleMuPt100/GEN-SIM-DIGI-RAW/93X_mc2017_realistic_v1-v1/00000/7E558B24-4986-E711-A60B-0025905A60CE.root',
0032         '/store/relval/CMSSW_9_3_0_pre4/RelValSingleMuPt100/GEN-SIM-DIGI-RAW/93X_mc2017_realistic_v1-v1/00000/9A673D21-4986-E711-A989-0025905A6134.root',
0033     ),
0034 )
0035 
0036 process.mix.playback = True
0037 process.mix.digitizers = cms.PSet()
0038 for a in process.aliases: delattr(process, a)
0039 process.RandomNumberGeneratorService.restoreStateLabel=cms.untracked.string("randomEngineStateProducer")
0040 from Configuration.AlCa.GlobalTag import GlobalTag
0041 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase1_2017_realistic', '')
0042 
0043 process.raw2digi_step = cms.Path(process.RawToDigi)
0044 process.dqmOffline_step = cms.Path(process.DQMOfflineMuon)
0045 #process.dqmHarvest_step = cms.Path(process.DQMHarvestMuon+process.dqmSaver)
0046 process.dqmHarvest_step = cms.Path(process.dqmSaver)
0047 
0048 process.schedule = cms.Schedule(
0049     process.raw2digi_step,
0050     process.dqmOffline_step,
0051 #    process.dqmHarvesting,
0052     process.dqmHarvest_step
0053 )
0054 
0055 #Setup FWK for multithreaded
0056 process.options.numberOfThreads=cms.untracked.uint32(8)
0057 process.options.numberOfStreams=cms.untracked.uint32(0)
0058 
0059 from SimGeneral.MixingModule.fullMixCustomize_cff import setCrossingFrameOn
0060 process = setCrossingFrameOn(process)