1 import FWCore.ParameterSet.Config
as cms
26 CondDBOutput = CondDB.clone(connect = cms.string(
"sqlite_file:promptCalibConditions.db"))
28 PoolDBOutputService = cms.Service(
"PoolDBOutputService",
37 dqmSaver.convention =
'Offline' 38 dqmSaver.workflow =
'/Express/PCLTest/ALCAPROMPT' 45 ALCAHARVESTBeamSpotByRun = alcaBeamSpotHarvester.clone()
46 ALCAHARVESTBeamSpotByRun.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string(
"runbased")
47 ALCAHARVESTBeamSpotByRun.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string(
"BeamSpotObjectsRcdByRun")
49 ALCAHARVESTBeamSpotByRun_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdByRun'))
51 ALCAHARVESTBeamSpotByRun_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdByRun'),
52 tag = cms.string(
'BeamSpotObject_ByRun'),
53 timetype = cms.untracked.string(
'runnumber')
58 ALCAHARVESTBeamSpotByLumi = alcaBeamSpotHarvester.clone()
59 ALCAHARVESTBeamSpotByLumi.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string(
"lumibased")
60 ALCAHARVESTBeamSpotByLumi.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string(
"BeamSpotObjectsRcdByLumi")
63 ALCAHARVESTBeamSpotByLumi_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdByLumi'))
65 ALCAHARVESTBeamSpotByLumi_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdByLumi'),
66 tag = cms.string(
'BeamSpotObject_ByLumi'),
67 timetype = cms.untracked.string(
'lumiid')
72 ALCAHARVESTBeamSpotHPByRun = alcaBeamSpotHarvester.clone()
73 ALCAHARVESTBeamSpotHPByRun.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string(
"runbased")
74 ALCAHARVESTBeamSpotHPByRun.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string(
"BeamSpotObjectsRcdHPByRun")
75 ALCAHARVESTBeamSpotHPByRun.AlcaBeamSpotHarvesterParameters.BeamSpotModuleName = cms.untracked.string(
'alcaBeamSpotProducerHP')
77 ALCAHARVESTBeamSpotHPByRun_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdHPByRun'))
79 ALCAHARVESTBeamSpotHPByRun_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdHPByRun'),
80 tag = cms.string(
'BeamSpotObjectHP_ByRun'),
81 timetype = cms.untracked.string(
'runnumber')
86 ALCAHARVESTBeamSpotHPByLumi = alcaBeamSpotHarvester.clone()
87 ALCAHARVESTBeamSpotHPByLumi.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string(
"lumibased")
88 ALCAHARVESTBeamSpotHPByLumi.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string(
"BeamSpotObjectsRcdHPByLumi")
89 ALCAHARVESTBeamSpotHPByLumi.AlcaBeamSpotHarvesterParameters.BeamSpotModuleName = cms.untracked.string(
'alcaBeamSpotProducerHP')
90 ALCAHARVESTBeamSpotHPByLumi.AlcaBeamSpotHarvesterParameters.DumpTxt = cms.untracked.bool(
True)
93 ALCAHARVESTBeamSpotHPByLumi_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdHPByLumi'))
95 ALCAHARVESTBeamSpotHPByLumi_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdHPByLumi'),
96 tag = cms.string(
'BeamSpotObjectHP_ByLumi'),
97 timetype = cms.untracked.string(
'lumiid')
103 ALCAHARVESTBeamSpotHPLowPUByRun = ALCAHARVESTBeamSpotHPByRun.clone()
104 ALCAHARVESTBeamSpotHPLowPUByRun.AlcaBeamSpotHarvesterParameters.BeamSpotModuleName = cms.untracked.string(
'alcaBeamSpotProducerHPLowPU')
107 ALCAHARVESTBeamSpotHPLowPUByRun_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdHPByRun'))
109 ALCAHARVESTBeamSpotHPLowPUByRun_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdHPByRun'),
110 tag = cms.string(
'BeamSpotObjectHP_ByRun'),
111 timetype = cms.untracked.string(
'runnumber')
116 ALCAHARVESTBeamSpotHPLowPUByLumi = ALCAHARVESTBeamSpotHPByLumi.clone()
117 ALCAHARVESTBeamSpotHPLowPUByLumi.AlcaBeamSpotHarvesterParameters.BeamSpotModuleName = cms.untracked.string(
'alcaBeamSpotProducerHPLowPU')
121 ALCAHARVESTBeamSpotHPLowPUByLumi_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdHPByLumi'))
123 ALCAHARVESTBeamSpotHPLowPUByLumi_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdHPByLumi'),
124 tag = cms.string(
'BeamSpotObjectHP_ByLumi'),
125 timetype = cms.untracked.string(
'lumiid')
130 ALCAHARVESTSiStripQuality_metadata = cms.PSet(record = cms.untracked.string(
'SiStripBadStripRcd'))
132 ALCAHARVESTSiStripQuality_dbOutput = cms.PSet(record = cms.string(
'SiStripBadStripRcd'),
133 tag = cms.string(
'SiStripBadStrip_pcl'),
134 timetype = cms.untracked.string(
'runnumber')
139 ALCAHARVESTSiStripGains_metadata = cms.PSet(record = cms.untracked.string(
'SiStripApvGainRcd'))
141 ALCAHARVESTSiStripGains_dbOutput = cms.PSet(record = cms.string(
'SiStripApvGainRcd'),
142 tag = cms.string(
'SiStripApvGain_pcl'),
143 timetype = cms.untracked.string(
'runnumber')
148 ALCAHARVESTSiStripGainsAAG_metadata = cms.PSet(record = cms.untracked.string(
'SiStripApvGainRcdAAG'))
150 ALCAHARVESTSiStripGainsAAG_dbOutput = cms.PSet(record = cms.string(
'SiStripApvGainRcdAAG'),
151 tag = cms.string(
'SiStripApvGainAAG_pcl'),
152 timetype = cms.untracked.string(
'runnumber')
156 ALCAHARVESTSiStripLA_metadata = cms.PSet(record = cms.untracked.string(
'SiStripLorentzAngleRcd'))
158 ALCAHARVESTSiStripLA_dbOutput = cms.PSet(record = cms.string(
'SiStripLorentzAngleRcd'),
159 tag = cms.string(
'SiStripLA_pcl'),
160 timetype = cms.untracked.string(
'runnumber')
165 ALCAHARVESTSiStripHitEff_metadata = cms.PSet(record = cms.untracked.string(
'SiStripBadStripFromHitEffRcd'))
167 ALCAHARVESTSiStripHitEff_dbOutput = cms.PSet(record = cms.string(
'SiStripBadStripFromHitEffRcd'),
168 tag = cms.string(
'SiStripBadStripRcdHitEff_pcl'),
169 timetype = cms.untracked.string(
'runnumber')
174 ALCAHARVESTSiPixelAli_metadata = cms.PSet(record = cms.untracked.string(
'TrackerAlignmentRcd'))
176 ALCAHARVESTSiPixelAli_dbOutput = cms.PSet(record = cms.string(
'TrackerAlignmentRcd'),
177 tag = cms.string(
'SiPixelAli_pcl'),
178 timetype = cms.untracked.string(
'runnumber')
183 ALCAHARVESTSiPixelAliHG_metadata = cms.PSet(record = cms.untracked.string(
'TrackerAlignmentHGRcd'))
185 ALCAHARVESTSiPixelAliHG_dbOutput = cms.PSet(record = cms.string(
'TrackerAlignmentHGRcd'),
186 tag = cms.string(
'SiPixelAliHG_pcl'),
187 timetype = cms.untracked.string(
'runnumber')
192 ALCAHARVESTSiPixelLA_metadata = cms.PSet(record = cms.untracked.string(
'SiPixelLorentzAngleRcd'))
194 ALCAHARVESTSiPixelLA_dbOutput = cms.PSet(record = cms.string(
'SiPixelLorentzAngleRcd'),
195 tag = cms.string(
'SiPixelLA_pcl'),
196 timetype = cms.untracked.string(
'runnumber')
201 ALCAHARVESTSiPixelLAMCS_metadata = cms.PSet(record = cms.untracked.string(
'SiPixelLorentzAngleRcdMCS'))
203 ALCAHARVESTSiPixelLAMCS_dbOutput = cms.PSet(record = cms.string(
'SiPixelLorentzAngleRcdMCS'),
204 tag = cms.string(
'SiPixelLAMCS_pcl'),
205 timetype = cms.untracked.string(
'runnumber')
209 ALCAHARVESTEcalPedestals_metadata = cms.PSet(record = cms.untracked.string(
'EcalPedestalsRcd'))
211 ALCAHARVESTEcalPedestals_dbOutput = cms.PSet(record = cms.string(
'EcalPedestalsRcd'),
212 tag = cms.string(
'EcalPedestals_pcl'),
213 timetype = cms.untracked.string(
'runnumber')
218 ALCAHARVESTLumiPCC_metadata = cms.PSet(record = cms.untracked.string(
'LumiCorrectionsRcd'))
220 ALCAHARVESTLumiPCC_dbOutput = cms.PSet(record = cms.string(
'LumiCorrectionsRcd'),
221 tag = cms.string(
'LumiPCCCorrections_pcl'),
222 timetype = cms.untracked.string(
'lumiid')
228 ALCAHARVESTSiPixelQuality = siPixelStatusHarvester.clone()
229 ALCAHARVESTSiPixelQuality.SiPixelStatusManagerParameters.outputBase = cms.untracked.string(
"dynamicLumibased")
230 ALCAHARVESTSiPixelQuality.SiPixelStatusManagerParameters.aveDigiOcc = cms.untracked.int32(20000)
231 ALCAHARVESTSiPixelQuality.debug = cms.untracked.bool(
False)
233 ALCAHARVESTSiPixelQuality_metadata = cms.VPSet(cms.PSet(record = cms.untracked.string(
'SiPixelQualityFromDbRcd_prompt')),
234 cms.PSet(record = cms.untracked.string(
'SiPixelQualityFromDbRcd_stuckTBM')),
235 cms.PSet(record = cms.untracked.string(
'SiPixelQualityFromDbRcd_other')))
236 ALCAHARVESTSiPixelQuality_dbOutput = cms.VPSet(cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_prompt'),
237 tag = cms.string(
'SiPixelQualityFromDbRcd_prompt'),
238 timetype = cms.untracked.string(
'lumiid')
240 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_stuckTBM'),
241 tag = cms.string(
'SiPixelQualityFromDbRcd_stuckTBM'),
242 timetype = cms.untracked.string(
'lumiid'),
244 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_other'),
245 tag = cms.string(
'SiPixelQualityFromDbRcd_other'),
246 timetype = cms.untracked.string(
'lumiid')
250 if ALCAHARVESTSiPixelQuality.debug == cms.untracked.bool(
True) :
251 dbOutput_ext = cms.VPSet(
252 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_PCL'),
253 tag = cms.string(
'SiPixelQualityFromDbRcd_PCL'),
254 timetype = cms.untracked.string(
'lumiid')
256 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_FEDerror25'),
257 tag = cms.string(
'SiPixelQualityFromDbRcd_FEDerror25'),
258 timetype = cms.untracked.string(
'lumiid'),
260 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_permanentBad'),
261 tag = cms.string(
'SiPixelQualityFromDbRcd_permanentBad'),
262 timetype = cms.untracked.string(
'runnumber')
265 ALCAHARVESTSiPixelQuality_dbOutput.extend(dbOutput_ext)
269 ALCAHARVESTPPSTimingCalibration_metadata = cms.PSet(record = cms.untracked.string(
'PPSTimingCalibrationRcd_HPTDC'))
270 ALCAHARVESTPPSTimingCalibration_dbOutput = cms.PSet(record = cms.string(
'PPSTimingCalibrationRcd_HPTDC'),
271 tag = cms.string(
'PPSDiamondTimingCalibration_pcl'),
272 timetype = cms.untracked.string(
'runnumber')
275 ALCAHARVESTPPSDiamondSampicTimingCalibration_metadata = cms.PSet(record = cms.untracked.string(
'PPSTimingCalibrationRcd_SAMPIC'))
276 ALCAHARVESTPPSDiamondSampicTimingCalibration_dbOutput = cms.PSet(record = cms.string(
'PPSTimingCalibrationRcd_SAMPIC'),
277 tag = cms.string(
'PPSDiamondSampicCalibration_pcl'),
278 timetype = cms.untracked.string(
'runnumber'))
280 ALCAHARVESTPPSAlignment_metadata = cms.PSet(record = cms.untracked.string(
'CTPPSRPAlignmentCorrectionsDataRcd'))
281 ALCAHARVESTPPSAlignment_dbOutput = cms.PSet(record = cms.string(
'CTPPSRPAlignmentCorrectionsDataRcd'),
282 tag = cms.string(
'CTPPSRPAlignment_real_pcl'),
283 timetype = cms.untracked.string(
'runnumber'))
286 BeamSpotByRun = cms.Path(ALCAHARVESTBeamSpotByRun)
287 BeamSpotByLumi = cms.Path(ALCAHARVESTBeamSpotByLumi)
288 BeamSpotHPByRun = cms.Path(ALCAHARVESTBeamSpotHPByRun)
289 BeamSpotHPByLumi = cms.Path(ALCAHARVESTBeamSpotHPByLumi)
290 BeamSpotHPLowPUByRun = cms.Path(ALCAHARVESTBeamSpotHPLowPUByRun)
291 BeamSpotHPLowPUByLumi = cms.Path(ALCAHARVESTBeamSpotHPLowPUByLumi)
292 SiStripQuality = cms.Path(ALCAHARVESTSiStripQuality)
293 SiStripGains = cms.Path(ALCAHARVESTSiStripGains)
294 SiStripGainsAAG = cms.Path(ALCAHARVESTSiStripGainsAAG)
295 SiStripHitEff = cms.Path(ALCAHARVESTSiStripHitEfficiency)
296 SiStripLA = cms.Path(ALCAHARVESTSiStripLorentzAngle)
297 SiPixelAli = cms.Path(ALCAHARVESTSiPixelAli)
298 SiPixelAliHG = cms.Path(ALCAHARVESTSiPixelAliHG)
299 SiPixelLA = cms.Path(ALCAHARVESTSiPixelLorentzAngle)
300 SiPixelLAMCS = cms.Path(ALCAHARVESTSiPixelLorentzAngleMCS)
301 EcalPedestals = cms.Path(ALCAHARVESTEcalPedestals)
302 LumiPCC = cms.Path(ALCAHARVESTLumiPCC)
303 SiPixelQuality = cms.Path(dqmEnvSiPixelQuality+ALCAHARVESTSiPixelQuality)
304 PPSTimingCalibration = cms.Path(ALCAHARVESTPPSTimingCalibration)
305 PPSDiamondSampicTimingCalibration = cms.Path(ALCAHARVESTPPSDiamondSampicTimingCalibration)
306 PPSAlignment = cms.Path(ALCAHARVESTPPSAlignment)
308 ALCAHARVESTDQMSaveAndMetadataWriter = cms.Path(dqmSaver+pclMetadataWriter)