Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 process = cms.Process("Validation")
00004
00005 process.load("FWCore.MessageService.MessageLogger_cfi")
00006 process.MessageLogger.debugModules = cms.untracked.vstring('')
00007 process.MessageLogger.destinations = cms.untracked.vstring('cerr')
00008 process.MessageLogger.categories.append('resolution')
00009 process.MessageLogger.cerr = cms.untracked.PSet(
00010 threshold = cms.untracked.string('DEBUG'),
00011 noLineBreaks = cms.untracked.bool(False),
00012 DEBUG = cms.untracked.PSet(limit = cms.untracked.int32(0)),
00013 INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)),
00014 resolution = cms.untracked.PSet(limit = cms.untracked.int32(-1))
00015 )
00016
00017 process.load("Configuration.StandardSequences.Geometry_cff")
00018 process.load("Geometry.DTGeometry.dtGeometry_cfi")
00019 process.DTGeometryESModule.applyAlignment = False
00020
00021 process.load("CondCore.DBCommon.CondDBSetup_cfi")
00022 process.load("DQMServices.Core.DQM_cfg")
00023
00024 """
00025 process.source = cms.Source("EmptyIOVSource",
00026 lastValue = cms.uint64(100),
00027 timetype = cms.string('runnumber'),
00028 firstValue = cms.uint64(1),
00029 interval = cms.uint64(90)
00030 )
00031 """
00032 process.source = cms.Source("EmptySource",
00033 numberEventsInRun = cms.untracked.uint32(1),
00034 firstRun = cms.untracked.uint32(1)
00035 )
00036
00037 process.maxEvents = cms.untracked.PSet(
00038 input = cms.untracked.int32(1)
00039 )
00040
00041 process.eventInfoProvider = cms.EDFilter("EventCoordinatesSource",
00042 eventInfoFolder = cms.untracked.string('EventInfo/')
00043 )
00044
00045 process.qTester = cms.EDAnalyzer("QualityTester",
00046 prescaleFactor = cms.untracked.int32(1),
00047 qtList = cms.untracked.FileInPath('CalibMuon/DTCalibration/data/QualityTests_ttrig.xml')
00048 )
00049
00050 process.load("DQM.DTMonitorClient.dtResolutionTest_cfi")
00051 process.resolutionTest.histoTag2D = 'hResDistVsDist_STEP3'
00052 process.resolutionTest.histoTag = 'hResDist_STEP3'
00053 process.resolutionTest.STEP = 'STEP3'
00054 process.resolutionTest.OutputMEsInRootFile = cms.bool(True)
00055 process.resolutionTest.readFile = cms.untracked.bool(True)
00056
00057
00058
00059 process.dtValidSequence = cms.Sequence(process.resolutionTest*process.qTester)
00060 process.validation_step = cms.Path(process.dtValidSequence)
00061 process.DQM.collectorHost = ''