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.MessageLogger.MessageLogger_cfi")
12 process.load(
"DQMServices.Components.EDMtoMEConverter_cff")
14 process.options = cms.untracked.PSet(
15 fileMode = cms.untracked.string(config.fileMode)
18 process.load(
"Configuration.StandardSequences.Geometry_cff")
19 process.load(
"Geometry.DTGeometry.dtGeometry_cfi")
20 process.DTGeometryESModule.applyAlignment =
False
22 process.load(
"CondCore.DBCommon.CondDBSetup_cfi")
23 process.load(
"DQMServices.Core.DQM_cfg")
25 process.source = cms.Source(
"PoolSource",
26 processingMode = cms.untracked.string(
"RunsAndLumis"),
27 fileNames = cms.untracked.vstring()
30 process.maxEvents = cms.untracked.PSet(
31 input = cms.untracked.int32(-1)
34 process.eventInfoProvider = cms.EDFilter(
"EventCoordinatesSource",
35 eventInfoFolder = cms.untracked.string(
'EventInfo/')
38 process.qTester = cms.EDAnalyzer(
"QualityTester",
39 prescaleFactor = cms.untracked.int32(1),
40 qtList = cms.untracked.FileInPath(
'CalibMuon/DTCalibration/data/QualityTests_ttrig.xml')
43 process.load(
"DQM.DTMonitorClient.dtResolutionTestFinalCalib_cfi")
45 workflowName =
'/Mu/Calibration-v1/DQM'
46 if config.dqmAtRunEnd:
47 process.DQMStore.referenceFileName =
''
48 process.dqmSaver.convention =
'Offline'
49 process.dqmSaver.workflow = workflowName
50 process.DQMStore.collateHistograms =
False
51 process.EDMtoMEConverter.convertOnEndLumi =
True
52 process.EDMtoMEConverter.convertOnEndRun =
True
54 process.DQMStore.referenceFileName =
''
55 process.dqmSaver.convention =
'Offline'
56 process.dqmSaver.workflow = workflowName
57 process.DQMStore.collateHistograms =
True
58 process.EDMtoMEConverter.convertOnEndLumi =
True
59 process.EDMtoMEConverter.convertOnEndRun =
True
60 process.dqmSaver.saveByRun = -1
61 process.dqmSaver.saveAtJobEnd =
True
62 process.dqmSaver.forceRunNumber = 1
64 process.dqm_step = cms.Path(process.EDMtoMEConverter*
65 process.resolutionTest*process.qTester*process.dqmSaver)
66 process.DQM.collectorHost =
''