CMS 3D CMS Logo

dtCalibValidation_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("Validation")
4 
5 process.load("FWCore.MessageService.MessageLogger_cfi")
6 process.MessageLogger.cerr.threshold = 'INFO'
7 
8 process.load("CalibMuon.DTCalibration.dt_offlineAnalysis_common_cff")
9 process.load("DQMServices.Core.DQM_cfg")
10 
11 process.source = cms.Source("PoolSource",
12  fileNames = cms.untracked.vstring()
13 )
14 
15 process.maxEvents = cms.untracked.PSet(
16  input = cms.untracked.int32(-1)
17 )
18 
19 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
20 
21 process.load("CalibMuon.DTCalibration.dtCalibValidation_cfi")
22 process.load("CalibMuon.DTCalibration.ALCARECODtCalibHLTDQM_cfi")
23 #process.ALCARECODtCalibHLTDQM.directory = "DT/HLTSummary"
24 
25 process.output = cms.OutputModule("PoolOutputModule",
26  outputCommands = cms.untracked.vstring('drop *',
27  'keep *_MEtoEDMConverter_*_Validation'),
28  fileName = cms.untracked.string('DQM.root')
29 )
30 
31 process.load("DQMServices.Components.MEtoEDMConverter_cff")
32 
33 """
34 process.dtValidSequence = cms.Sequence(process.muonDTDigis*
35  process.dt1DRecHits*process.dt2DSegments*process.dt4DSegments+
36  process.dtCalibValidation+process.ALCARECODtCalibHLTDQM)
37 """
38 process.dtValidSequence = cms.Sequence(process.dt1DRecHits*process.dt2DSegments*process.dt4DSegments+
39  process.dtCalibValidation)#+process.ALCARECODtCalibHLTDQM)
40 process.analysis_step = cms.Path(process.dtValidSequence*process.MEtoEDMConverter)
41 process.out_step = cms.EndPath(process.output)
42 #process.DQM.collectorHost = ''