Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:44

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 class config: pass
0004 config.dqmAtRunEnd = True
0005 if config.dqmAtRunEnd: config.fileMode = 'FULLMERGE'
0006 else: config.fileMode = 'NOMERGE'
0007 
0008 process = cms.Process("HARVESTING")
0009 
0010 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0011 
0012 process.load("Configuration.StandardSequences.GeometryDB_cff")
0013 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
0014 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0015 process.GlobalTag.globaltag = ""
0016 
0017 process.load("CondCore.CondDB.CondDB_cfi")
0018 process.load("DQMServices.Core.DQM_cfg")
0019 process.load("DQMServices.Components.EDMtoMEConverter_cff")
0020 
0021 process.options = cms.untracked.PSet(
0022     fileMode = cms.untracked.string(config.fileMode)
0023 )
0024 
0025 process.source = cms.Source("PoolSource",
0026     processingMode = cms.untracked.string("RunsAndLumis"),
0027     fileNames = cms.untracked.vstring()
0028 )
0029 
0030 process.maxEvents = cms.untracked.PSet(
0031     input = cms.untracked.int32(-1)
0032 )
0033 
0034 process.load('DQM.DTMonitorClient.ALCARECODTCalibSynchDQMClient_cff')
0035 
0036 workflowName = '/Mu/Calibration-v1/DQM'
0037 if config.dqmAtRunEnd:
0038     process.dqmSaver.convention = 'Offline'
0039     process.dqmSaver.workflow = workflowName
0040     process.EDMtoMEConverter.convertOnEndLumi = True
0041     process.EDMtoMEConverter.convertOnEndRun = True
0042 else:
0043     process.dqmSaver.convention = 'Offline'
0044     process.dqmSaver.workflow = workflowName
0045     process.EDMtoMEConverter.convertOnEndLumi = True
0046     process.EDMtoMEConverter.convertOnEndRun = True
0047     process.dqmSaver.saveByRun = -1
0048     process.dqmSaver.saveAtJobEnd = True  
0049     process.dqmSaver.forceRunNumber = 1
0050 
0051 process.dqm_step = cms.Path(process.EDMtoMEConverter*
0052                             process.ALCARECODTCalibSynchDQMClient*process.dqmSaver)
0053 #process.DQM.collectorHost = ''