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