Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-06-17 02:28:17

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("EvFDQM")
0004 
0005 #----------------------------
0006 #### Event Source
0007 #----------------------------
0008 
0009 process.source = cms.Source("PoolSource",
0010     fileNames = cms.untracked.vstring(
0011     '/store/data/Commissioning10/Cosmics/RAW/v3/000/130/772/00A80040-A42D-DF11-A17C-000423D990CC.root'
0012     )
0013 )
0014 
0015 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(5000) )
0016 
0017 
0018 #----------------------------
0019 #### DQM Environment
0020 #----------------------------
0021 process.load("DQMServices.Core.DQM_cfg")
0022 
0023 #----------------------------
0024 #### DQM Environment
0025 #----------------------------
0026 process.load("DQM.Integration.test.environment_cfi")
0027 process.dqmEnv.subSystemFolder = 'FEDTest'
0028 process.dqmSaver.dirName = '.'
0029 process.dqmSaver.saveByRun = True
0030 #-----------------------------
0031 
0032 # message logger
0033 process.MessageLogger = cms.Service("MessageLogger",
0034                                     destinations = cms.untracked.vstring('cout'),
0035                                     cout = cms.untracked.PSet(threshold = cms.untracked.string('WARNING'))
0036                                     )
0037 
0038 # Global tag
0039 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cfi")
0040 process.GlobalTag.globaltag ="GR10_P_V4::All"
0041 
0042 #-----------------------------
0043 #### Sub-system configuration follows
0044 
0045 # DT DQM stuff
0046 process.load("DQM.DTMonitorModule.dtDataIntegrityTask_EvF_cfi")
0047 
0048 process.load("EventFilter.DTRawToDigi.dtunpacker_cfi")
0049 # enable DQM monitoring in unpacker
0050 process.dtunpacker = process.muonDTDigis.clone(
0051    performDataIntegrityMonitor = True,
0052    readOutParameters.performDataIntegrityMonitor = True
0053 )
0054 # DQM Modules
0055 process.dqmmodules = cms.Sequence(process.dqmEnv + process.dqmSaver)
0056 
0057 ### Define the path
0058 process.dtUnpackAndDQM = cms.Path( process.dtunpacker ) #has to be run in hlt paths nothing has to be added to DQM-hlt paths
0059 process.evfDQMmodulesPath = cms.Path( process.dqmmodules ) 
0060 process.schedule = cms.Schedule(process.dtUnpackAndDQM,process.evfDQMmodulesPath)