5 Scenario supporting proton collisions
12 from Configuration.DataProcessing.Scenario
import Scenario
13 from Configuration.DataProcessing.Utils
import stepALCAPRODUCER
15 from Configuration.PyReleaseValidation.ConfigBuilder
import ConfigBuilder
16 from Configuration.PyReleaseValidation.ConfigBuilder
import Options
17 from Configuration.PyReleaseValidation.ConfigBuilder
import defaultOptions
18 from Configuration.PyReleaseValidation.ConfigBuilder
import installFilteredStream
19 from Configuration.DataProcessing.RecoTLR
import customisePrompt
25 Implement configuration building for data processing for proton
31 def promptReco(self, globalTag, writeTiers = ['RECO'], **args):
35 Proton collision data taking prompt reco
39 skims = [
'HcalCalMinBias']
42 options.__dict__.update(defaultOptions.__dict__)
43 options.scenario =
"pp"
44 options.step =
'RAW2DIGI,L1Reco,RECO:reconstruction_HcalNZS'+step+
',DQM,ENDJOB'
47 options.beamspot =
None
48 options.eventcontent =
','.
join(writeTiers)
49 options.datatier =
','.
join(writeTiers)
50 options.magField =
'AutoFromDBCurrent'
51 options.conditions =
"FrontierConditions_GlobalTag,%s" % globalTag
52 options.relval =
False
54 process = cms.Process(
'RECO')
55 cb =
ConfigBuilder(options, process = process, with_output =
True)
58 process.source = cms.Source(
"PoolSource",
59 fileNames = cms.untracked.vstring()
74 AlcaReco processing & skims for proton collisions
79 if 'globaltag' in args:
80 globalTag = args[
'globaltag']
86 options.__dict__.update(defaultOptions.__dict__)
87 options.scenario =
"pp"
88 options.step = step.rstrip(
'+')
91 options.beamspot =
None
92 options.eventcontent =
None
94 if globalTag !=
None :
95 options.conditions =
"FrontierConditions_GlobalTag,%s" % globalTag
96 options.triggerResultsProcess =
'RECO'
98 process = cms.Process(
'ALCA')
102 process.source = cms.Source(
104 fileNames = cms.untracked.vstring()
116 Proton collisions data taking DQM Harvesting
119 options = defaultOptions
120 options.scenario =
"pp"
121 options.step =
"HARVESTING:dqmHarvesting"
123 options.isData =
True
124 options.beamspot =
None
125 options.eventcontent =
None
126 options.name =
"EDMtoMEConvert"
127 options.conditions =
"FrontierConditions_GlobalTag,%s" % globalTag
128 options.arguments =
""
129 options.evt_type =
""
132 process = cms.Process(
"HARVESTING")
133 process.source = cms.Source(
"PoolSource")
135 configBuilder.prepare()
140 process.source.processingMode = cms.untracked.string(
'RunsAndLumis')
141 process.source.fileNames = cms.untracked(cms.vstring())
142 process.maxEvents.input = -1
143 process.dqmSaver.workflow = datasetName
144 if args.has_key(
'referenceFile')
and args.get(
'referenceFile',
''):
145 process.DQMStore.referenceFileName = \
146 cms.untracked.string(args[
'referenceFile'])
static std::string join(char **cmd)