CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
dtCalibValidation_cosmics_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_cosmics_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 #process.ALCARECODtCalibHLTDQM.eventSetupPathsKey = ''
25 #process.ALCARECODtCalibHLTDQM.HLTPaths = ['HLT_.*']
26 
27 process.output = cms.OutputModule("PoolOutputModule",
28  outputCommands = cms.untracked.vstring('drop *',
29  'keep *_MEtoEDMConverter_*_Validation'),
30  fileName = cms.untracked.string('DQM.root')
31 )
32 
33 process.load("DQMServices.Components.MEtoEDMConverter_cff")
34 
35 """
36 process.dtValidSequence = cms.Sequence(process.muonDTDigis*
37  process.dt1DRecHits*process.dt2DSegments*process.dt4DSegments+
38  process.dtCalibValidation+process.ALCARECODtCalibHLTDQM)
39 """
40 process.dtValidSequence = cms.Sequence(process.dt1DRecHits*process.dt2DSegments*process.dt4DSegments+
41  process.dtCalibValidation)#+process.ALCARECODtCalibHLTDQM)
42 process.analysis_step = cms.Path(process.dtValidSequence*process.MEtoEDMConverter)
43 process.out_step = cms.EndPath(process.output)
44 #process.DQM.collectorHost = ''