5 Scenario supporting MC production 13 import FWCore.ParameterSet.Config
as cms
17 Scenario.__init__(self)
21 Implement configuration building for MC production 29 DQM Harvesting for MC production 32 options = defaultOptions
33 options.scenario =
"pp" 34 options.step =
"HARVESTING:validationprodHarvesting" 36 options.isData =
False 37 options.beamspot =
None 38 options.eventcontent =
None 39 options.name =
"EDMtoMEConvert" 40 options.conditions =
"FrontierConditions_GlobalTag,%s" % globalTag
41 options.arguments =
"" 45 process = cms.Process(
"HARVESTING", self.eras)
46 if args.get(
'newDQMIO',
False):
47 process.source = cms.Source(
"DQMRootSource")
49 process.source = cms.Source(
"PoolSource")
51 configBuilder.prepare()
56 process.source.processingMode = cms.untracked.string(
'RunsAndLumis')
57 process.source.fileNames = cms.untracked(cms.vstring())
58 process.maxEvents.input = -1
59 process.dqmSaver.workflow = datasetName
60 if 'referenceFile' in args
and args.get(
'referenceFile',
''):
61 process.DQMStore.referenceFileName = \
62 cms.untracked.string(args[
'referenceFile'])
def dqmHarvesting(self, datasetName, runNumber, globalTag, args)