5 Scenario supporting heavy-ion collisions
12 from Configuration.DataProcessing.Scenario
import Scenario
13 from Configuration.DataProcessing.Utils
import stepALCAPRODUCER,addMonitoring,dictIO,dqmIOSource
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.PyReleaseValidation.ConfigBuilder
import addOutputModule
20 from Configuration.DataProcessing.RecoTLR
import customisePromptHI,customiseExpressHI
26 Implement configuration building for data processing for
27 heavy-ion collision data taking
36 Heavy-ion collision data taking prompt reco
40 skims = [
'SiStripCalZeroBias',
47 options.__dict__.update(defaultOptions.__dict__)
48 options.scenario =
"HeavyIons"
49 options.step =
'RAW2DIGI,L1Reco,RECO'+step+
',DQM,ENDJOB'
50 options.isRepacked =
True
52 options.conditions = globalTag
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 Heavy-ion collision data taking express processing
77 skims = [
'SiStripCalZeroBias',
81 options.__dict__.update(defaultOptions.__dict__)
82 options.scenario =
"HeavyIons"
83 options.step =
'RAW2DIGI,L1Reco,RECO'+step+
',DQM,ENDJOB'
84 options.isRepacked =
True
86 options.conditions = globalTag
88 process = cms.Process(
'RECO')
89 cb =
ConfigBuilder(options, process = process, with_output=
True)
92 process.source = cms.Source(
"NewEventStreamFileReader",
93 fileNames = cms.untracked.vstring()
107 AlcaReco processing & skims for heavy-ion collisions
112 if 'globaltag' in args:
113 globalTag = args[
'globaltag']
116 if 'PromptCalibProd' in skims:
117 step =
"ALCA:PromptCalibProd"
118 skims.remove(
'PromptCalibProd')
123 step +=
"ALCAOUTPUT:"
128 options.__dict__.update(defaultOptions.__dict__)
129 options.scenario =
"HeavyIons"
130 options.step = step.rstrip(
'+')
132 options.isData =
True
133 options.beamspot =
None
134 options.eventcontent =
None
135 options.relval =
None
136 if globalTag !=
None :
137 options.conditions =
"FrontierConditions_GlobalTag,%s" % globalTag
138 options.triggerResultsProcess =
'RECO'
140 process = cms.Process(
'ALCA')
144 process.source = cms.Source(
146 fileNames = cms.untracked.vstring()
153 if 'PromptCalibProd' in step:
154 process.ALCARECOStreamPromptCalibProd.dataset.dataTier = cms.untracked.string(
'ALCAPROMPT')
163 Heavy-ion collisions data taking DQM Harvesting
166 options = defaultOptions
167 options.scenario =
"HeavyIons"
168 options.step =
"HARVESTING:dqmHarvesting"
170 options.isData =
True
171 options.beamspot =
None
172 options.eventcontent =
None
173 options.name =
"EDMtoMEConvert"
174 options.conditions =
"FrontierConditions_GlobalTag,%s" % globalTag
175 options.arguments =
""
176 options.evt_type =
""
179 process = cms.Process(
"HARVESTING")
180 if args.get(
'newDQMIO',
False):
181 process.source = cms.Source(
"DQMRootSource")
183 process.source = cms.Source(
"PoolSource")
185 configBuilder.prepare()
190 process.source.processingMode = cms.untracked.string(
'RunsAndLumis')
191 process.source.fileNames = cms.untracked(cms.vstring())
192 process.maxEvents.input = -1
193 process.dqmSaver.workflow = datasetName
194 process.dqmSaver.saveByLumiSection = 1
195 if args.has_key(
'referenceFile')
and args.get(
'referenceFile',
''):
196 process.DQMStore.referenceFileName = \
197 cms.untracked.string(args[
'referenceFile'])
206 Heavy-ion collisions data taking AlCa Harvesting
209 options = defaultOptions
210 options.scenario =
"HeavyIons"
211 options.step =
"ALCAHARVEST:BeamSpotByRun+BeamSpotByLumi"
213 options.isData =
True
214 options.beamspot =
None
215 options.eventcontent =
None
216 options.name =
"ALCAHARVEST"
217 options.conditions = globalTag
218 options.arguments =
""
219 options.evt_type =
""
222 process = cms.Process(
"ALCAHARVEST")
223 process.source = cms.Source(
"PoolSource")
225 configBuilder.prepare()
230 process.source.processingMode = cms.untracked.string(
'RunsAndLumis')
231 process.source.fileNames = cms.untracked(cms.vstring())
232 process.maxEvents.input = -1
233 process.dqmSaver.workflow = datasetName