1 import FWCore.ParameterSet.Config
as cms
18 CondDBOutput = CondDB.clone(connect = cms.string(
"sqlite_file:promptCalibConditions.db"))
20 PoolDBOutputService = cms.Service(
"PoolDBOutputService",
29 dqmSaver.convention =
'Offline' 30 dqmSaver.workflow =
'/Express/PCLTest/ALCAPROMPT' 37 ALCAHARVESTBeamSpotByRun = alcaBeamSpotHarvester.clone()
38 ALCAHARVESTBeamSpotByRun.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string(
"runbased")
39 ALCAHARVESTBeamSpotByRun.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string(
"BeamSpotObjectsRcdByRun")
41 ALCAHARVESTBeamSpotByRun_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdByRun'))
43 ALCAHARVESTBeamSpotByRun_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdByRun'),
44 tag = cms.string(
'BeamSpotObject_ByRun'),
45 timetype = cms.untracked.string(
'runnumber')
50 ALCAHARVESTBeamSpotByLumi = alcaBeamSpotHarvester.clone()
51 ALCAHARVESTBeamSpotByLumi.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string(
"lumibased")
52 ALCAHARVESTBeamSpotByLumi.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string(
"BeamSpotObjectsRcdByLumi")
55 ALCAHARVESTBeamSpotByLumi_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdByLumi'))
57 ALCAHARVESTBeamSpotByLumi_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdByLumi'),
58 tag = cms.string(
'BeamSpotObject_ByLumi'),
59 timetype = cms.untracked.string(
'lumiid')
64 ALCAHARVESTBeamSpotHPByRun = alcaBeamSpotHarvester.clone()
65 ALCAHARVESTBeamSpotHPByRun.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string(
"runbased")
66 ALCAHARVESTBeamSpotHPByRun.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string(
"BeamSpotObjectsRcdHPByRun")
67 ALCAHARVESTBeamSpotHPByRun.AlcaBeamSpotHarvesterParameters.BeamSpotModuleName = cms.untracked.string(
'alcaBeamSpotProducerHP')
69 ALCAHARVESTBeamSpotHPByRun_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdHPByRun'))
71 ALCAHARVESTBeamSpotHPByRun_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdHPByRun'),
72 tag = cms.string(
'BeamSpotObjectHP_ByRun'),
73 timetype = cms.untracked.string(
'runnumber')
78 ALCAHARVESTBeamSpotHPByLumi = alcaBeamSpotHarvester.clone()
79 ALCAHARVESTBeamSpotHPByLumi.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string(
"lumibased")
80 ALCAHARVESTBeamSpotHPByLumi.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string(
"BeamSpotObjectsRcdHPByLumi")
81 ALCAHARVESTBeamSpotHPByLumi.AlcaBeamSpotHarvesterParameters.BeamSpotModuleName = cms.untracked.string(
'alcaBeamSpotProducerHP')
82 ALCAHARVESTBeamSpotHPByLumi.AlcaBeamSpotHarvesterParameters.DumpTxt = cms.untracked.bool(
True)
85 ALCAHARVESTBeamSpotHPByLumi_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdHPByLumi'))
87 ALCAHARVESTBeamSpotHPByLumi_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdHPByLumi'),
88 tag = cms.string(
'BeamSpotObjectHP_ByLumi'),
89 timetype = cms.untracked.string(
'lumiid')
95 ALCAHARVESTBeamSpotHPLowPUByRun = ALCAHARVESTBeamSpotHPByRun.clone()
96 ALCAHARVESTBeamSpotHPLowPUByRun.AlcaBeamSpotHarvesterParameters.BeamSpotModuleName = cms.untracked.string(
'alcaBeamSpotProducerHPLowPU')
99 ALCAHARVESTBeamSpotHPLowPUByRun_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdHPByRun'))
101 ALCAHARVESTBeamSpotHPLowPUByRun_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdHPByRun'),
102 tag = cms.string(
'BeamSpotObjectHP_ByRun'),
103 timetype = cms.untracked.string(
'runnumber')
108 ALCAHARVESTBeamSpotHPLowPUByLumi = ALCAHARVESTBeamSpotHPByLumi.clone()
109 ALCAHARVESTBeamSpotHPLowPUByLumi.AlcaBeamSpotHarvesterParameters.BeamSpotModuleName = cms.untracked.string(
'alcaBeamSpotProducerHPLowPU')
113 ALCAHARVESTBeamSpotHPLowPUByLumi_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdHPByLumi'))
115 ALCAHARVESTBeamSpotHPLowPUByLumi_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdHPByLumi'),
116 tag = cms.string(
'BeamSpotObjectHP_ByLumi'),
117 timetype = cms.untracked.string(
'lumiid')
122 ALCAHARVESTSiStripQuality_metadata = cms.PSet(record = cms.untracked.string(
'SiStripBadStripRcd'))
124 ALCAHARVESTSiStripQuality_dbOutput = cms.PSet(record = cms.string(
'SiStripBadStripRcd'),
125 tag = cms.string(
'SiStripBadStrip_pcl'),
126 timetype = cms.untracked.string(
'runnumber')
131 ALCAHARVESTSiStripGains_metadata = cms.PSet(record = cms.untracked.string(
'SiStripApvGainRcd'))
133 ALCAHARVESTSiStripGains_dbOutput = cms.PSet(record = cms.string(
'SiStripApvGainRcd'),
134 tag = cms.string(
'SiStripApvGain_pcl'),
135 timetype = cms.untracked.string(
'runnumber')
140 ALCAHARVESTSiStripGainsAAG_metadata = cms.PSet(record = cms.untracked.string(
'SiStripApvGainRcdAAG'))
142 ALCAHARVESTSiStripGainsAAG_dbOutput = cms.PSet(record = cms.string(
'SiStripApvGainRcdAAG'),
143 tag = cms.string(
'SiStripApvGainAAG_pcl'),
144 timetype = cms.untracked.string(
'runnumber')
149 ALCAHARVESTSiPixelAli_metadata = cms.PSet(record = cms.untracked.string(
'TrackerAlignmentRcd'))
151 ALCAHARVESTSiPixelAli_dbOutput = cms.PSet(record = cms.string(
'TrackerAlignmentRcd'),
152 tag = cms.string(
'SiPixelAli_pcl'),
153 timetype = cms.untracked.string(
'runnumber')
158 ALCAHARVESTEcalPedestals_metadata = cms.PSet(record = cms.untracked.string(
'EcalPedestalsRcd'))
160 ALCAHARVESTEcalPedestals_dbOutput = cms.PSet(record = cms.string(
'EcalPedestalsRcd'),
161 tag = cms.string(
'EcalPedestals_pcl'),
162 timetype = cms.untracked.string(
'runnumber')
167 ALCAHARVESTLumiPCC_metadata = cms.PSet(record = cms.untracked.string(
'LumiCorrectionsRcd'))
169 ALCAHARVESTLumiPCC_dbOutput = cms.PSet(record = cms.string(
'LumiCorrectionsRcd'),
170 tag = cms.string(
'LumiPCCCorrections_pcl'),
171 timetype = cms.untracked.string(
'lumiid')
177 ALCAHARVESTSiPixelQuality = siPixelStatusHarvester.clone()
178 ALCAHARVESTSiPixelQuality.SiPixelStatusManagerParameters.outputBase = cms.untracked.string(
"dynamicLumibased")
179 ALCAHARVESTSiPixelQuality.SiPixelStatusManagerParameters.aveDigiOcc = cms.untracked.int32(20000)
180 ALCAHARVESTSiPixelQuality.debug = cms.untracked.bool(
False)
182 ALCAHARVESTSiPixelQuality_metadata = cms.VPSet(cms.PSet(record = cms.untracked.string(
'SiPixelQualityFromDbRcd_prompt')),
183 cms.PSet(record = cms.untracked.string(
'SiPixelQualityFromDbRcd_stuckTBM')),
184 cms.PSet(record = cms.untracked.string(
'SiPixelQualityFromDbRcd_other')))
185 ALCAHARVESTSiPixelQuality_dbOutput = cms.VPSet(cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_prompt'),
186 tag = cms.string(
'SiPixelQualityFromDbRcd_prompt'),
187 timetype = cms.untracked.string(
'lumiid')
189 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_stuckTBM'),
190 tag = cms.string(
'SiPixelQualityFromDbRcd_stuckTBM'),
191 timetype = cms.untracked.string(
'lumiid'),
193 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_other'),
194 tag = cms.string(
'SiPixelQualityFromDbRcd_other'),
195 timetype = cms.untracked.string(
'lumiid')
199 if ALCAHARVESTSiPixelQuality.debug == cms.untracked.bool(
True) :
200 dbOutput_ext = cms.VPSet(
201 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_PCL'),
202 tag = cms.string(
'SiPixelQualityFromDbRcd_PCL'),
203 timetype = cms.untracked.string(
'lumiid')
205 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_FEDerror25'),
206 tag = cms.string(
'SiPixelQualityFromDbRcd_FEDerror25'),
207 timetype = cms.untracked.string(
'lumiid'),
209 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_permanentBad'),
210 tag = cms.string(
'SiPixelQualityFromDbRcd_permanentBad'),
211 timetype = cms.untracked.string(
'runnumber')
214 ALCAHARVESTSiPixelQuality_dbOutput.extend(dbOutput_ext)
217 BeamSpotByRun = cms.Path(ALCAHARVESTBeamSpotByRun)
218 BeamSpotByLumi = cms.Path(ALCAHARVESTBeamSpotByLumi)
219 BeamSpotHPByRun = cms.Path(ALCAHARVESTBeamSpotHPByRun)
220 BeamSpotHPByLumi = cms.Path(ALCAHARVESTBeamSpotHPByLumi)
221 BeamSpotHPLowPUByRun = cms.Path(ALCAHARVESTBeamSpotHPLowPUByRun)
222 BeamSpotHPLowPUByLumi = cms.Path(ALCAHARVESTBeamSpotHPLowPUByLumi)
223 SiStripQuality = cms.Path(ALCAHARVESTSiStripQuality)
224 SiStripGains = cms.Path(ALCAHARVESTSiStripGains)
225 SiPixelAli = cms.Path(ALCAHARVESTSiPixelAli)
226 EcalPedestals = cms.Path(ALCAHARVESTEcalPedestals)
227 SiStripGainsAAG = cms.Path(ALCAHARVESTSiStripGainsAAG)
228 LumiPCC = cms.Path(ALCAHARVESTLumiPCC)
229 SiPixelQuality = cms.Path(dqmEnvSiPixelQuality+ALCAHARVESTSiPixelQuality)
231 ALCAHARVESTDQMSaveAndMetadataWriter = cms.Path(dqmSaver+pclMetadataWriter)