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,customiseExpress
25 Implement configuration building for data processing for proton
31 def promptReco(self, globalTag, writeTiers = ['ALCARECO'], **args):
35 Proton collision data taking prompt reco
42 options.__dict__.update(defaultOptions.__dict__)
43 options.scenario =
"pp"
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()
73 Proton collision data taking express processing
80 options.__dict__.update(defaultOptions.__dict__)
81 options.scenario =
"pp"
85 options.beamspot =
None
86 options.eventcontent =
','.
join(writeTiers)
87 options.datatier =
','.
join(writeTiers)
88 options.magField =
'AutoFromDBCurrent'
89 options.conditions =
"FrontierConditions_GlobalTag,%s" % globalTag
90 options.relval =
False
92 process = cms.Process(
'RECO')
93 cb =
ConfigBuilder(options, process = process, with_output =
True)
96 process.source = cms.Source(
"PoolSource",
97 fileNames = cms.untracked.vstring()
111 AlcaReco processing & skims for proton collisions
116 if 'globaltag' in args:
117 globalTag = args[
'globaltag']
123 options.__dict__.update(defaultOptions.__dict__)
124 options.scenario =
"pp"
125 options.step = step.rstrip(
'+')
127 options.isData =
True
128 options.beamspot =
None
129 options.eventcontent =
None
130 options.relval =
None
131 if globalTag !=
None :
132 options.conditions =
"FrontierConditions_GlobalTag,%s" % globalTag
133 options.triggerResultsProcess =
'RECO'
135 process = cms.Process(
'ALCA')
139 process.source = cms.Source(
141 fileNames = cms.untracked.vstring()
153 Proton collisions data taking DQM Harvesting
156 options = defaultOptions
157 options.scenario =
"pp"
158 options.step =
"HARVESTING:alcaHarvesting"
160 options.isData =
True
161 options.beamspot =
None
162 options.eventcontent =
None
163 options.name =
"EDMtoMEConvert"
164 options.conditions =
"FrontierConditions_GlobalTag,%s" % globalTag
165 options.arguments =
""
166 options.evt_type =
""
169 process = cms.Process(
"HARVESTING")
170 process.source = cms.Source(
"PoolSource")
172 configBuilder.prepare()
177 process.source.processingMode = cms.untracked.string(
'RunsAndLumis')
178 process.source.fileNames = cms.untracked(cms.vstring())
179 process.maxEvents.input = -1
180 process.dqmSaver.workflow = datasetName
181 process.dqmSaver.saveByLumiSection = 1
182 if args.has_key(
'referenceFile')
and args.get(
'referenceFile',
''):
183 process.DQMStore.referenceFileName = \
184 cms.untracked.string(args[
'referenceFile'])
static std::string join(char **cmd)