1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"Validation")
5 process.load(
"FWCore.MessageService.MessageLogger_cfi")
6 process.MessageLogger.debugModules = cms.untracked.vstring(
'')
7 process.MessageLogger.resolution=dict()
8 process.MessageLogger.cerr = cms.untracked.PSet(
9 threshold = cms.untracked.string(
'DEBUG'),
10 noLineBreaks = cms.untracked.bool(
False),
11 DEBUG = cms.untracked.PSet(limit = cms.untracked.int32(0)),
12 INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)),
13 resolution = cms.untracked.PSet(limit = cms.untracked.int32(-1))
16 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
17 from Configuration.AlCa.autoCond
import autoCond
18 process.GlobalTag.globaltag=autoCond[
'run3_data']
20 process.load(
"Configuration.StandardSequences.GeometryDB_cff")
21 process.load(
"Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
22 process.load(
"Geometry.DTGeometry.dtGeometry_cfi")
23 process.DTGeometryESModule.applyAlignment =
False 24 process.DTGeometryESModule.fromDDD =
False 26 process.load(
"CondCore.CondDB.CondDB_cfi")
27 process.load(
"DQMServices.Core.DQM_cfg")
30 process.source = cms.Source("EmptyIOVSource", 31 lastValue = cms.uint64(100), 32 timetype = cms.string('runnumber'), 33 firstValue = cms.uint64(1), 34 interval = cms.uint64(90) 37 process.source = cms.Source(
"EmptySource",
38 numberEventsInRun = cms.untracked.uint32(1),
39 firstRun = cms.untracked.uint32(1)
42 process.maxEvents = cms.untracked.PSet(
43 input = cms.untracked.int32(1)
46 process.eventInfoProvider = cms.EDFilter(
"EventCoordinatesSource",
47 eventInfoFolder = cms.untracked.string(
'EventInfo/')
50 from DQMServices.Core.DQMQualityTester
import DQMQualityTester
52 prescaleFactor = cms.untracked.int32(1),
53 qtList = cms.untracked.FileInPath(
'CalibMuon/DTCalibration/data/QualityTests_ttrig.xml')
56 process.load(
"DQM.DTMonitorClient.dtResolutionTest_cfi")
57 process.resolutionTest.histoTag2D =
'hResDistVsDist_STEP3' 58 process.resolutionTest.histoTag =
'hResDist_STEP3' 59 process.resolutionTest.STEP =
'STEP3' 60 process.resolutionTest.OutputMEsInRootFile = cms.bool(
True)
61 process.resolutionTest.readFile = cms.untracked.bool(
True)
65 process.dtValidSequence = cms.Sequence(process.resolutionTest*process.qTester)
66 process.validation_step = cms.Path(process.dtValidSequence)