5 Scenario supporting heavy-ion collisions
13 from Configuration.DataProcessing.Utils
import stepALCAPRODUCER,addMonitoring,dictIO,dqmIOSource
15 from Configuration.DataProcessing.RecoTLR
import customisePromptHI,customiseExpressHI
21 Implement configuration building for data processing for
22 heavy-ion collision data taking
31 Heavy-ion collision data taking prompt reco
35 skims = [
'SiStripCalZeroBias',
42 options.__dict__.update(defaultOptions.__dict__)
43 options.scenario =
"HeavyIons"
44 options.step =
'RAW2DIGI,L1Reco,RECO'+step+
',DQM,ENDJOB'
45 options.isRepacked =
True
47 options.conditions = globalTag
49 process = cms.Process(
'RECO')
50 cb =
ConfigBuilder(options, process = process, with_output=
True)
53 process.source = cms.Source(
"PoolSource",
54 fileNames = cms.untracked.vstring()
68 Heavy-ion collision data taking express processing
72 skims = [
'SiStripCalZeroBias',
76 options.__dict__.update(defaultOptions.__dict__)
77 options.scenario =
"HeavyIons"
78 options.step =
'RAW2DIGI,L1Reco,RECO'+step+
',DQM,ENDJOB'
79 options.isRepacked =
True
81 options.conditions = globalTag
83 process = cms.Process(
'RECO')
84 cb =
ConfigBuilder(options, process = process, with_output=
True)
87 process.source = cms.Source(
"NewEventStreamFileReader",
88 fileNames = cms.untracked.vstring()
102 AlcaReco processing & skims for heavy-ion collisions
107 if 'globaltag' in args:
108 globalTag = args[
'globaltag']
111 if 'PromptCalibProd' in skims:
112 step =
"ALCA:PromptCalibProd"
113 skims.remove(
'PromptCalibProd')
118 step +=
"ALCAOUTPUT:"
123 options.__dict__.update(defaultOptions.__dict__)
124 options.scenario =
"HeavyIons"
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()
148 if 'PromptCalibProd' in step:
149 process.ALCARECOStreamPromptCalibProd.dataset.dataTier = cms.untracked.string(
'ALCAPROMPT')
158 Heavy-ion collisions data taking DQM Harvesting
161 options = defaultOptions
162 options.scenario =
"HeavyIons"
163 options.step =
"HARVESTING:dqmHarvesting"
165 options.isData =
True
166 options.beamspot =
None
167 options.eventcontent =
None
168 options.name =
"EDMtoMEConvert"
169 options.conditions =
"FrontierConditions_GlobalTag,%s" % globalTag
170 options.arguments =
""
171 options.evt_type =
""
174 process = cms.Process(
"HARVESTING")
175 if args.get(
'newDQMIO',
False):
176 process.source = cms.Source(
"DQMRootSource")
178 process.source = cms.Source(
"PoolSource")
180 configBuilder.prepare()
185 process.source.processingMode = cms.untracked.string(
'RunsAndLumis')
186 process.source.fileNames = cms.untracked(cms.vstring())
187 process.maxEvents.input = -1
188 process.dqmSaver.workflow = datasetName
189 process.dqmSaver.saveByLumiSection = 1
190 if args.has_key(
'referenceFile')
and args.get(
'referenceFile',
''):
191 process.DQMStore.referenceFileName = \
192 cms.untracked.string(args[
'referenceFile'])
201 Heavy-ion collisions data taking AlCa Harvesting
204 options = defaultOptions
205 options.scenario =
"HeavyIons"
206 options.step =
"ALCAHARVEST:BeamSpotByRun+BeamSpotByLumi"
208 options.isData =
True
209 options.beamspot =
None
210 options.eventcontent =
None
211 options.name =
"ALCAHARVEST"
212 options.conditions = globalTag
213 options.arguments =
""
214 options.evt_type =
""
217 process = cms.Process(
"ALCAHARVEST")
218 process.source = cms.Source(
"PoolSource")
220 configBuilder.prepare()
225 process.source.processingMode = cms.untracked.string(
'RunsAndLumis')
226 process.source.fileNames = cms.untracked(cms.vstring())
227 process.maxEvents.input = -1
228 process.dqmSaver.workflow = datasetName