File indexing completed on 2024-04-06 11:58:29
0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.StandardSequences.Eras import eras
0003
0004 process = cms.Process("Validation",eras.Run3)
0005
0006 process.load("FWCore.MessageService.MessageLogger_cfi")
0007 process.MessageLogger.debugModules = cms.untracked.vstring('')
0008 process.MessageLogger.resolution=dict()
0009 process.MessageLogger.cerr = cms.untracked.PSet(
0010 threshold = cms.untracked.string('DEBUG'),
0011 noLineBreaks = cms.untracked.bool(False),
0012 DEBUG = cms.untracked.PSet(limit = cms.untracked.int32(0)),
0013 INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)),
0014 resolution = cms.untracked.PSet(limit = cms.untracked.int32(-1))
0015 )
0016
0017 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0018 from Configuration.AlCa.autoCond import autoCond
0019 process.GlobalTag.globaltag=autoCond['run3_data']
0020
0021 process.load("Configuration.StandardSequences.GeometryDB_cff")
0022 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
0023 process.load("Geometry.DTGeometry.dtGeometry_cfi")
0024 process.DTGeometryESModule.applyAlignment = False
0025 process.DTGeometryESModule.fromDDD = False
0026
0027 process.load("CondCore.CondDB.CondDB_cfi")
0028 process.load("DQMServices.Core.DQM_cfg")
0029
0030 """
0031 process.source = cms.Source("EmptyIOVSource",
0032 lastValue = cms.uint64(100),
0033 timetype = cms.string('runnumber'),
0034 firstValue = cms.uint64(1),
0035 interval = cms.uint64(90)
0036 )
0037 """
0038 process.source = cms.Source("EmptySource",
0039 numberEventsInRun = cms.untracked.uint32(1),
0040 firstRun = cms.untracked.uint32(1)
0041 )
0042
0043 process.maxEvents = cms.untracked.PSet(
0044 input = cms.untracked.int32(1)
0045 )
0046
0047 process.eventInfoProvider = cms.EDFilter("EventCoordinatesSource",
0048 eventInfoFolder = cms.untracked.string('EventInfo/')
0049 )
0050
0051 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0052 process.qTester = DQMQualityTester(
0053 prescaleFactor = cms.untracked.int32(1),
0054 qtList = cms.untracked.FileInPath('CalibMuon/DTCalibration/data/QualityTests_ttrig.xml')
0055 )
0056
0057 process.load("DQM.DTMonitorClient.dtResolutionTest_cfi")
0058 process.resolutionTest.histoTag2D = 'hResDistVsDist_STEP3'
0059 process.resolutionTest.histoTag = 'hResDist_STEP3'
0060 process.resolutionTest.STEP = 'STEP3'
0061 process.resolutionTest.OutputMEsInRootFile = cms.bool(True)
0062 process.resolutionTest.readFile = cms.untracked.bool(True)
0063
0064
0065
0066 process.dtValidSequence = cms.Sequence(process.resolutionTest*process.qTester)
0067 process.validation_step = cms.Path(process.dtValidSequence)
0068