1 import FWCore.ParameterSet.Config
as cms
22 CondDBOutput = CondDB.clone(connect = cms.string(
"sqlite_file:promptCalibConditions.db"))
24 PoolDBOutputService = cms.Service(
"PoolDBOutputService",
33 dqmSaver.convention =
'Offline'
34 dqmSaver.workflow =
'/Express/PCLTest/ALCAPROMPT'
41 ALCAHARVESTBeamSpotByRun = alcaBeamSpotHarvester.clone()
42 ALCAHARVESTBeamSpotByRun.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string(
"runbased")
43 ALCAHARVESTBeamSpotByRun.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string(
"BeamSpotObjectsRcdByRun")
45 ALCAHARVESTBeamSpotByRun_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdByRun'))
47 ALCAHARVESTBeamSpotByRun_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdByRun'),
48 tag = cms.string(
'BeamSpotObject_ByRun'),
49 timetype = cms.untracked.string(
'runnumber')
54 ALCAHARVESTBeamSpotByLumi = alcaBeamSpotHarvester.clone()
55 ALCAHARVESTBeamSpotByLumi.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string(
"lumibased")
56 ALCAHARVESTBeamSpotByLumi.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string(
"BeamSpotObjectsRcdByLumi")
59 ALCAHARVESTBeamSpotByLumi_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdByLumi'))
61 ALCAHARVESTBeamSpotByLumi_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdByLumi'),
62 tag = cms.string(
'BeamSpotObject_ByLumi'),
63 timetype = cms.untracked.string(
'lumiid')
68 ALCAHARVESTBeamSpotHPByRun = alcaBeamSpotHarvester.clone()
69 ALCAHARVESTBeamSpotHPByRun.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string(
"runbased")
70 ALCAHARVESTBeamSpotHPByRun.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string(
"BeamSpotObjectsRcdHPByRun")
71 ALCAHARVESTBeamSpotHPByRun.AlcaBeamSpotHarvesterParameters.BeamSpotModuleName = cms.untracked.string(
'alcaBeamSpotProducerHP')
73 ALCAHARVESTBeamSpotHPByRun_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdHPByRun'))
75 ALCAHARVESTBeamSpotHPByRun_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdHPByRun'),
76 tag = cms.string(
'BeamSpotObjectHP_ByRun'),
77 timetype = cms.untracked.string(
'runnumber')
82 ALCAHARVESTBeamSpotHPByLumi = alcaBeamSpotHarvester.clone()
83 ALCAHARVESTBeamSpotHPByLumi.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string(
"lumibased")
84 ALCAHARVESTBeamSpotHPByLumi.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string(
"BeamSpotObjectsRcdHPByLumi")
85 ALCAHARVESTBeamSpotHPByLumi.AlcaBeamSpotHarvesterParameters.BeamSpotModuleName = cms.untracked.string(
'alcaBeamSpotProducerHP')
86 ALCAHARVESTBeamSpotHPByLumi.AlcaBeamSpotHarvesterParameters.DumpTxt = cms.untracked.bool(
True)
89 ALCAHARVESTBeamSpotHPByLumi_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdHPByLumi'))
91 ALCAHARVESTBeamSpotHPByLumi_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdHPByLumi'),
92 tag = cms.string(
'BeamSpotObjectHP_ByLumi'),
93 timetype = cms.untracked.string(
'lumiid')
99 ALCAHARVESTBeamSpotHPLowPUByRun = ALCAHARVESTBeamSpotHPByRun.clone()
100 ALCAHARVESTBeamSpotHPLowPUByRun.AlcaBeamSpotHarvesterParameters.BeamSpotModuleName = cms.untracked.string(
'alcaBeamSpotProducerHPLowPU')
103 ALCAHARVESTBeamSpotHPLowPUByRun_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdHPByRun'))
105 ALCAHARVESTBeamSpotHPLowPUByRun_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdHPByRun'),
106 tag = cms.string(
'BeamSpotObjectHP_ByRun'),
107 timetype = cms.untracked.string(
'runnumber')
112 ALCAHARVESTBeamSpotHPLowPUByLumi = ALCAHARVESTBeamSpotHPByLumi.clone()
113 ALCAHARVESTBeamSpotHPLowPUByLumi.AlcaBeamSpotHarvesterParameters.BeamSpotModuleName = cms.untracked.string(
'alcaBeamSpotProducerHPLowPU')
117 ALCAHARVESTBeamSpotHPLowPUByLumi_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdHPByLumi'))
119 ALCAHARVESTBeamSpotHPLowPUByLumi_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdHPByLumi'),
120 tag = cms.string(
'BeamSpotObjectHP_ByLumi'),
121 timetype = cms.untracked.string(
'lumiid')
126 ALCAHARVESTSiStripQuality_metadata = cms.PSet(record = cms.untracked.string(
'SiStripBadStripRcd'))
128 ALCAHARVESTSiStripQuality_dbOutput = cms.PSet(record = cms.string(
'SiStripBadStripRcd'),
129 tag = cms.string(
'SiStripBadStrip_pcl'),
130 timetype = cms.untracked.string(
'runnumber')
135 ALCAHARVESTSiStripGains_metadata = cms.PSet(record = cms.untracked.string(
'SiStripApvGainRcd'))
137 ALCAHARVESTSiStripGains_dbOutput = cms.PSet(record = cms.string(
'SiStripApvGainRcd'),
138 tag = cms.string(
'SiStripApvGain_pcl'),
139 timetype = cms.untracked.string(
'runnumber')
144 ALCAHARVESTSiStripGainsAAG_metadata = cms.PSet(record = cms.untracked.string(
'SiStripApvGainRcdAAG'))
146 ALCAHARVESTSiStripGainsAAG_dbOutput = cms.PSet(record = cms.string(
'SiStripApvGainRcdAAG'),
147 tag = cms.string(
'SiStripApvGainAAG_pcl'),
148 timetype = cms.untracked.string(
'runnumber')
153 ALCAHARVESTSiPixelAli_metadata = cms.PSet(record = cms.untracked.string(
'TrackerAlignmentRcd'))
155 ALCAHARVESTSiPixelAli_dbOutput = cms.PSet(record = cms.string(
'TrackerAlignmentRcd'),
156 tag = cms.string(
'SiPixelAli_pcl'),
157 timetype = cms.untracked.string(
'runnumber')
162 ALCAHARVESTSiPixelLA_metadata = cms.PSet(record = cms.untracked.string(
'SiPixelLorentzAngleRcd'))
164 ALCAHARVESTSiPixelLA_dbOutput = cms.PSet(record = cms.string(
'SiPixelLorentzAngleRcd'),
165 tag = cms.string(
'SiPixelLA_pcl'),
166 timetype = cms.untracked.string(
'runnumber')
171 ALCAHARVESTEcalPedestals_metadata = cms.PSet(record = cms.untracked.string(
'EcalPedestalsRcd'))
173 ALCAHARVESTEcalPedestals_dbOutput = cms.PSet(record = cms.string(
'EcalPedestalsRcd'),
174 tag = cms.string(
'EcalPedestals_pcl'),
175 timetype = cms.untracked.string(
'runnumber')
180 ALCAHARVESTLumiPCC_metadata = cms.PSet(record = cms.untracked.string(
'LumiCorrectionsRcd'))
182 ALCAHARVESTLumiPCC_dbOutput = cms.PSet(record = cms.string(
'LumiCorrectionsRcd'),
183 tag = cms.string(
'LumiPCCCorrections_pcl'),
184 timetype = cms.untracked.string(
'lumiid')
190 ALCAHARVESTSiPixelQuality = siPixelStatusHarvester.clone()
191 ALCAHARVESTSiPixelQuality.SiPixelStatusManagerParameters.outputBase = cms.untracked.string(
"dynamicLumibased")
192 ALCAHARVESTSiPixelQuality.SiPixelStatusManagerParameters.aveDigiOcc = cms.untracked.int32(20000)
193 ALCAHARVESTSiPixelQuality.debug = cms.untracked.bool(
False)
195 ALCAHARVESTSiPixelQuality_metadata = cms.VPSet(cms.PSet(record = cms.untracked.string(
'SiPixelQualityFromDbRcd_prompt')),
196 cms.PSet(record = cms.untracked.string(
'SiPixelQualityFromDbRcd_stuckTBM')),
197 cms.PSet(record = cms.untracked.string(
'SiPixelQualityFromDbRcd_other')))
198 ALCAHARVESTSiPixelQuality_dbOutput = cms.VPSet(cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_prompt'),
199 tag = cms.string(
'SiPixelQualityFromDbRcd_prompt'),
200 timetype = cms.untracked.string(
'lumiid')
202 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_stuckTBM'),
203 tag = cms.string(
'SiPixelQualityFromDbRcd_stuckTBM'),
204 timetype = cms.untracked.string(
'lumiid'),
206 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_other'),
207 tag = cms.string(
'SiPixelQualityFromDbRcd_other'),
208 timetype = cms.untracked.string(
'lumiid')
212 if ALCAHARVESTSiPixelQuality.debug == cms.untracked.bool(
True) :
213 dbOutput_ext = cms.VPSet(
214 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_PCL'),
215 tag = cms.string(
'SiPixelQualityFromDbRcd_PCL'),
216 timetype = cms.untracked.string(
'lumiid')
218 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_FEDerror25'),
219 tag = cms.string(
'SiPixelQualityFromDbRcd_FEDerror25'),
220 timetype = cms.untracked.string(
'lumiid'),
222 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_permanentBad'),
223 tag = cms.string(
'SiPixelQualityFromDbRcd_permanentBad'),
224 timetype = cms.untracked.string(
'runnumber')
227 ALCAHARVESTSiPixelQuality_dbOutput.extend(dbOutput_ext)
231 ALCAHARVESTPPSTimingCalibration_metadata = cms.PSet(record = cms.untracked.string(
'PPSTimingCalibrationRcd'))
232 ALCAHARVESTPPSTimingCalibration_dbOutput = cms.PSet(record = cms.string(
'PPSTimingCalibrationRcd'),
233 tag = cms.string(
'PPSDiamondTimingCalibration_pcl'),
234 timetype = cms.untracked.string(
'runnumber')
237 ALCAHARVESTPPSDiamondSampicTimingCalibration_metadata = cms.PSet(record = cms.untracked.string(
'PPSTimingCalibrationRcd_Sampic'))
238 ALCAHARVESTPPSDiamondSampicTimingCalibration_dbOutput = cms.PSet(record = cms.string(
'PPSTimingCalibrationRcd_Sampic'),
239 tag = cms.string(
'DiamondSampicCalibration'),
240 timetype = cms.untracked.string(
'runnumber'))
242 ALCAHARVESTPPSAlignment_metadata = cms.PSet(record = cms.untracked.string(
'CTPPSRPAlignmentCorrectionsDataRcd'))
243 ALCAHARVESTPPSAlignment_dbOutput = cms.PSet(record = cms.string(
'CTPPSRPAlignmentCorrectionsDataRcd'),
244 tag = cms.string(
'CTPPSRPAlignment_real_pcl'),
245 timetype = cms.untracked.string(
'runnumber'))
248 BeamSpotByRun = cms.Path(ALCAHARVESTBeamSpotByRun)
249 BeamSpotByLumi = cms.Path(ALCAHARVESTBeamSpotByLumi)
250 BeamSpotHPByRun = cms.Path(ALCAHARVESTBeamSpotHPByRun)
251 BeamSpotHPByLumi = cms.Path(ALCAHARVESTBeamSpotHPByLumi)
252 BeamSpotHPLowPUByRun = cms.Path(ALCAHARVESTBeamSpotHPLowPUByRun)
253 BeamSpotHPLowPUByLumi = cms.Path(ALCAHARVESTBeamSpotHPLowPUByLumi)
254 SiStripQuality = cms.Path(ALCAHARVESTSiStripQuality)
255 SiStripGains = cms.Path(ALCAHARVESTSiStripGains)
256 SiPixelAli = cms.Path(ALCAHARVESTSiPixelAli)
257 SiPixelLA = cms.Path(ALCAHARVESTSiPixelLorentzAngle)
258 EcalPedestals = cms.Path(ALCAHARVESTEcalPedestals)
259 SiStripGainsAAG = cms.Path(ALCAHARVESTSiStripGainsAAG)
260 LumiPCC = cms.Path(ALCAHARVESTLumiPCC)
261 SiPixelQuality = cms.Path(dqmEnvSiPixelQuality+ALCAHARVESTSiPixelQuality)
262 PPSTimingCalibration = cms.Path(ALCAHARVESTPPSTimingCalibration)
263 PPSDiamondSampicTimingCalibration = cms.Path(ALCAHARVESTPPSDiamondSampicTimingCalibration)
264 PPSAlignment = cms.Path(ALCAHARVESTPPSAlignment)
266 ALCAHARVESTDQMSaveAndMetadataWriter = cms.Path(dqmSaver+pclMetadataWriter)