5 Scenario supporting pre-production
12 from Configuration.DataProcessing.Scenario
import Scenario
14 from Configuration.PyReleaseValidation.ConfigBuilder
import ConfigBuilder
15 from Configuration.PyReleaseValidation.ConfigBuilder
import Options
16 from Configuration.PyReleaseValidation.ConfigBuilder
import defaultOptions
24 Implement configuration building for RelVal MC production
32 DQM Harvesting for pre-production
35 options = defaultOptions
36 options.scenario =
"pp"
37 options.step =
"HARVESTING:validationpreprodHarvesting+dqmHarvestingPOG"
39 options.isData =
False
40 options.beamspot =
None
41 options.eventcontent =
None
42 options.name =
"EDMtoMEConvert"
43 options.conditions =
"FrontierConditions_GlobalTag,%s" % globalTag
44 options.arguments =
""
48 process = cms.Process(
"HARVESTING")
49 if args.get(
'newDQMIO',
False):
50 process.source = cms.Source(
"DQMRootSource")
52 process.source = cms.Source(
"PoolSource")
54 configBuilder.prepare()
59 process.source.processingMode = cms.untracked.string(
'RunsAndLumis')
60 process.source.fileNames = cms.untracked(cms.vstring())
61 process.maxEvents.input = -1
62 process.dqmSaver.workflow = datasetName
63 if args.has_key(
'referenceFile')
and args.get(
'referenceFile',
''):
64 process.DQMStore.referenceFileName = \
65 cms.untracked.string(args[
'referenceFile'])