CMS 3D CMS Logo

dtDQMAlca_cosmics_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from Configuration.StandardSequences.Eras import eras
3 
4 process = cms.Process("DQM",eras.Run3)
5 
6 process.load("FWCore.MessageService.MessageLogger_cfi")
7 process.MessageLogger.cerr.threshold = 'INFO'
8 
9 process.load("CalibMuon.DTCalibration.dt_offlineAnalysis_common_cosmics_cff")
10 process.GlobalTag.globaltag = ""
11 
12 process.load("DQMServices.Core.DQM_cfg")
13 
14 process.source = cms.Source("PoolSource",
15  fileNames = cms.untracked.vstring()
16 )
17 
18 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
19 
20 process.maxEvents = cms.untracked.PSet(
21  input = cms.untracked.int32(-1)
22 )
23 
24 process.load("CalibMuon.DTCalibration.ALCARECODtCalib_cff")
25 process.load("DQM.DTMonitorModule.ALCARECODTCalibSynchDQM_cff")
26 
27 process.output = cms.OutputModule("PoolOutputModule",
28  outputCommands = cms.untracked.vstring('drop *',
29  'keep *_MEtoEDMConverter_*_DQM'),
30  fileName = cms.untracked.string('DQM.root')
31 )
32 
33 process.load("DQMServices.Components.MEtoEDMConverter_cff")
34 
35 process.dtLocalRecoSequence = cms.Sequence(process.dt1DRecHits*process.dt2DSegments*process.dt4DSegments)
36 process.ALCARECODTCalibSynchDQM_step = cms.Path(process.dtLocalRecoSequence+
37  process.ALCARECODTCalibSynchDQM)
38 process.MEtoEDMConverter_step = cms.Path(process.MEtoEDMConverter)
39 process.out_step = cms.EndPath(process.output)
40 #process.DQM.collectorHost = ''