File indexing completed on 2024-11-26 02:34:07
0001 import FWCore.ParameterSet.Config as cms
0002 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
0003
0004 from Configuration.Eras.Era_Run3_cff import Run3
0005 process = cms.Process("HARVESTING", Run3)
0006
0007
0008
0009
0010
0011 process.load("DQM.Integration.config.pbsource_cfi")
0012 from DQM.Integration.config.pbsource_cfi import options
0013 process.source.loadFiles = cms.untracked.bool(False)
0014 process.source.streamLabel = cms.untracked.string("streamDQMPLT")
0015 process.source.nextLumiTimeoutMillis = cms.untracked.int32(500)
0016
0017
0018
0019
0020 process.load("DQM.Integration.config.environment_cfi")
0021 process.dqmEnv.subSystemFolder = 'BRIL'
0022 process.dqmEnv.eventInfoFolder = 'EventInfo'
0023 process.dqmSaver.tag = 'BRIL'
0024 process.dqmSaver.runNumber = options.runNumber
0025
0026
0027
0028
0029 if process.dqmRunConfig.type.value() == "production":
0030 rid = process.source.runInputDir.value()
0031 process.source.runInputDir = rid + ":" + "/cmsnfsscratch/globalscratch/cmsbril/PLT/DQM/"
0032
0033 print("Modified input source:", process.source)
0034
0035
0036 process.dqmEnv.eventInfoFolder = 'EventInfo/Random'
0037
0038 process.BrilClient = DQMEDHarvester("BrilClient")
0039
0040 process.bril_path = cms.Path(process.BrilClient)
0041 process.p = cms.EndPath(process.dqmEnv + process.dqmSaver )
0042
0043 process.schedule = cms.Schedule(process.bril_path, process.p)