File indexing completed on 2024-04-06 12:07:11
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("PROD")
0004
0005 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0006 process.load("Geometry.DTGeometry.dtGeometry_cfi")
0007 process.DTGeometryESModule.applyAlignment = False
0008
0009 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0010
0011 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0012 process.load("DQMServices.Core.DQM_cfg")
0013
0014 process.source = cms.Source("EmptyIOVSource",
0015 lastValue = cms.uint64(100),
0016 timetype = cms.string('runnumber'),
0017 firstValue = cms.uint64(1),
0018 interval = cms.uint64(90)
0019 )
0020
0021 process.maxEvents = cms.untracked.PSet(
0022 input = cms.untracked.int32(-1)
0023 )
0024 process.eventInfoProvider = cms.EDFilter("EventCoordinatesSource",
0025 eventInfoFolder = cms.untracked.string('EventInfo/')
0026 )
0027
0028 process.MessageLogger = cms.Service("MessageLogger",
0029 debugModules = cms.untracked.vstring('resolutionTest_step1',
0030 'resolutionTest_step2',
0031 'resolutionTest_step3'),
0032 cout = cms.untracked.PSet(
0033 threshold = cms.untracked.string('ERROR'),
0034 default = cms.untracked.PSet(
0035 limit = cms.untracked.int32(0)
0036 ),
0037 resolution = cms.untracked.PSet(
0038 limit = cms.untracked.int32(10000000)
0039 ),
0040 noLineBreaks = cms.untracked.bool(True)
0041 ),
0042 categories = cms.untracked.vstring('resolution'),
0043 destinations = cms.untracked.vstring('cout')
0044 )
0045
0046 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0047 process.qTester = DQMQualityTester(
0048 prescaleFactor = cms.untracked.int32(1),
0049 qtList = cms.untracked.FileInPath('DQM/DTMonitorClient/test/QualityTests_ttrig.xml')
0050 )
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065
0066
0067
0068
0069
0070
0071
0072 process.load("DQM.DTMonitorClient.dtResolutionTest_cfi")
0073 process.modulo=process.resolutionTest.clone(
0074 histoTag2D = 'hResDistVsDist_STEP3',
0075 histoTag = 'hResDist_STEP3',
0076 STEP = 'STEP3',
0077 OutputMEsInRootFile = True,
0078 readFile = True,
0079 inputFile = '/afs/cern.ch/cms/CAF/CMSALCA/ALCA_MUONCALIB/DTCALIB/RUNPERIODTEMPLATE/ttrig/DTkFactValidation_ResidCorr_RUNNUMBERTEMPLATE.root',
0080 OutputFileName = '/afs/cern.ch/cms/CAF/CMSALCA/ALCA_MUONCALIB/DTCALIB/RUNPERIODTEMPLATE/ttrig/SummaryResiduals_ResidCorr_RUNNUMBERTEMPLATE.root'
0081 )
0082
0083 process.secondStep = cms.Sequence(process.modulo*process.qTester)
0084 process.p = cms.Path(process.secondStep)
0085 process.DQM.collectorHost = ''