1 import FWCore.ParameterSet.Config
as cms
4 config.dqmAtRunEnd =
False 5 if config.dqmAtRunEnd: config.fileMode =
'FULLMERGE' 6 else: config.fileMode =
'NOMERGE' 8 process = cms.Process(
"DQMClient")
10 process.load(
"FWCore.MessageService.MessageLogger_cfi")
11 process.MessageLogger.debugModules = cms.untracked.vstring(
'')
12 process.MessageLogger.DTDQM=dict()
13 process.MessageLogger.resolution=dict()
14 process.MessageLogger.cerr = cms.untracked.PSet(
15 threshold = cms.untracked.string(
'WARNING'),
16 noLineBreaks = cms.untracked.bool(
False),
17 DEBUG = cms.untracked.PSet(limit = cms.untracked.int32(0)),
18 INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)),
19 DTDQM = cms.untracked.PSet(limit = cms.untracked.int32(-1)),
20 resolution = cms.untracked.PSet(limit = cms.untracked.int32(-1))
23 process.load(
"DQMServices.Components.EDMtoMEConverter_cff")
25 process.options = cms.untracked.PSet(
26 fileMode = cms.untracked.string(config.fileMode)
29 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
30 from Configuration.AlCa.autoCond
import autoCond
31 process.GlobalTag.globaltag=autoCond[
'run3_data']
33 process.load(
"Configuration.StandardSequences.GeometryDB_cff")
34 process.load(
"Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
35 process.load(
"Geometry.DTGeometry.dtGeometry_cfi")
36 process.DTGeometryESModule.applyAlignment =
False 37 process.DTGeometryESModule.fromDDD =
False 39 process.load(
"CondCore.CondDB.CondDB_cfi")
40 process.load(
"DQMServices.Core.DQM_cfg")
42 process.source = cms.Source(
"PoolSource",
43 processingMode = cms.untracked.string(
"RunsAndLumis"),
44 fileNames = cms.untracked.vstring()
47 process.maxEvents = cms.untracked.PSet(
48 input = cms.untracked.int32(-1)
51 process.eventInfoProvider = cms.EDFilter(
"EventCoordinatesSource",
52 eventInfoFolder = cms.untracked.string(
'EventInfo/')
55 from DQMServices.Core.DQMQualityTester
import DQMQualityTester
57 prescaleFactor = cms.untracked.int32(1),
58 qtList = cms.untracked.FileInPath(
'CalibMuon/DTCalibration/data/QualityTests_ttrig.xml')
62 process.load(
"DQM.DTMonitorClient.dtResolutionTest_cfi")
63 process.resolutionTest.calibModule =
True 64 process.resolutionTest.histoTag2D =
'hResDistVsDist_STEP3' 65 process.resolutionTest.histoTag =
'hResDist_STEP3' 66 process.resolutionTest.STEP =
'STEP3' 67 process.resolutionTest.meanMaxLimit = 0.02
68 process.resolutionTest.sigmaTest =
True 69 process.resolutionTest.slopeTest =
False 70 process.resolutionTest.meanWrongHisto = cms.untracked.bool(
False)
71 process.resolutionTest.sigmaWrongHisto = cms.untracked.bool(
False)
72 process.resolutionTest.readFile = cms.untracked.bool(
False)
73 process.resolutionTest.OutputMEsInRootFile = cms.bool(
False)
77 workflowName =
'/Mu/Calibration-v1/DQM' 78 if config.dqmAtRunEnd:
79 process.dqmSaver.convention =
'Offline' 80 process.dqmSaver.workflow = workflowName
81 process.EDMtoMEConverter.convertOnEndLumi =
True 82 process.EDMtoMEConverter.convertOnEndRun =
True 84 process.dqmSaver.convention =
'Offline' 85 process.dqmSaver.workflow = workflowName
86 process.EDMtoMEConverter.convertOnEndLumi =
True 87 process.EDMtoMEConverter.convertOnEndRun =
True 88 process.dqmSaver.saveByRun = -1
89 process.dqmSaver.saveAtJobEnd =
True 90 process.dqmSaver.forceRunNumber = 1
94 process.dqm_step = cms.Path(process.EDMtoMEConverter*