CMS 3D CMS Logo

dtCalibValidation_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("Validation",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_cff")
10 process.load("DQMServices.Core.DQM_cfg")
11 
12 process.source = cms.Source("PoolSource",
13  fileNames = cms.untracked.vstring()
14 )
15 
16 process.maxEvents = cms.untracked.PSet(
17  input = cms.untracked.int32(-1)
18 )
19 
20 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
21 
22 process.load("CalibMuon.DTCalibration.dtCalibValidation_cfi")
23 process.load("CalibMuon.DTCalibration.ALCARECODtCalibHLTDQM_cfi")
24 #process.ALCARECODtCalibHLTDQM.directory = "DT/HLTSummary"
25 
26 process.output = cms.OutputModule("PoolOutputModule",
27  outputCommands = cms.untracked.vstring('drop *',
28  'keep *_MEtoEDMConverter_*_Validation'),
29  fileName = cms.untracked.string('DQM.root')
30 )
31 
32 process.load("DQMServices.Components.MEtoEDMConverter_cff")
33 
34 """
35 process.dtValidSequence = cms.Sequence(process.muonDTDigis*
36  process.dt1DRecHits*process.dt2DSegments*process.dt4DSegments+
37  process.dtCalibValidation+process.ALCARECODtCalibHLTDQM)
38 """
39 process.dtValidSequence = cms.Sequence(process.dt1DRecHits*process.dt2DSegments*process.dt4DSegments+
40  process.dtCalibValidation)#+process.ALCARECODtCalibHLTDQM)
41 process.analysis_step = cms.Path(process.dtValidSequence*process.MEtoEDMConverter)
42 process.out_step = cms.EndPath(process.output)
43 #process.DQM.collectorHost = ''