File indexing completed on 2024-04-06 12:32:57
0001
0002
0003
0004
0005
0006 import FWCore.ParameterSet.Config as cms
0007
0008 runOnMC = True
0009
0010 process = cms.Process("harvest")
0011 process.load("DQMServices.Components.DQMEnvironment_cfi")
0012
0013
0014 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0015 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0016
0017 process.load("DQMServices.Core.DQM_cfg")
0018
0019 process.maxEvents = cms.untracked.PSet(
0020 input = cms.untracked.int32(-1)
0021 )
0022 process.source = cms.Source("DQMRootSource",
0023 fileNames = cms.untracked.vstring()
0024 )
0025
0026 process.load("DQMOffline.RecoB.dqmCollector_cff")
0027 if runOnMC:
0028 process.dqmSeq = cms.Sequence(process.bTagCollectorSequenceMC * process.dqmSaver)
0029 else:
0030 process.dqmSeq = cms.Sequence(process.bTagCollectorSequenceDATA * process.dqmSaver)
0031
0032 process.plots = cms.Path(process.dqmSeq)
0033
0034 process.dqmEnv.subSystemFolder = 'BTAG'
0035 process.dqmSaver.producer = 'DQM'
0036 process.dqmSaver.workflow = '/POG/BTAG/BJET'
0037 process.dqmSaver.convention = 'Offline'
0038 process.dqmSaver.saveByRun = cms.untracked.int32(-1)
0039 process.dqmSaver.saveAtJobEnd =cms.untracked.bool(True)
0040 process.dqmSaver.forceRunNumber = cms.untracked.int32(1)
0041
0042 process.DQMRootSource.fileNames = [
0043
0044 ]
0045