1 import FWCore.ParameterSet.Config
as cms
17 CondDBOutput = CondDB.clone(connect = cms.string(
"sqlite_file:promptCalibConditions.db"))
19 PoolDBOutputService = cms.Service(
"PoolDBOutputService",
28 dqmSaver.convention =
'Offline' 29 dqmSaver.workflow =
'/Express/PCLTest/ALCAPROMPT' 36 ALCAHARVESTBeamSpotByRun = alcaBeamSpotHarvester.clone()
37 ALCAHARVESTBeamSpotByRun.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string(
"runbased")
38 ALCAHARVESTBeamSpotByRun.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string(
"BeamSpotObjectsRcdByRun")
40 ALCAHARVESTBeamSpotByRun_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdByRun'))
42 ALCAHARVESTBeamSpotByRun_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdByRun'),
43 tag = cms.string(
'BeamSpotObject_ByRun'),
44 timetype = cms.untracked.string(
'runnumber')
49 ALCAHARVESTBeamSpotByLumi = alcaBeamSpotHarvester.clone()
50 ALCAHARVESTBeamSpotByLumi.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string(
"lumibased")
51 ALCAHARVESTBeamSpotByLumi.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string(
"BeamSpotObjectsRcdByLumi")
54 ALCAHARVESTBeamSpotByLumi_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdByLumi'))
56 ALCAHARVESTBeamSpotByLumi_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdByLumi'),
57 tag = cms.string(
'BeamSpotObject_ByLumi'),
58 timetype = cms.untracked.string(
'lumiid')
63 ALCAHARVESTBeamSpotHPByRun = alcaBeamSpotHarvester.clone()
64 ALCAHARVESTBeamSpotHPByRun.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string(
"runbased")
65 ALCAHARVESTBeamSpotHPByRun.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string(
"BeamSpotObjectsRcdHPByRun")
66 ALCAHARVESTBeamSpotHPByRun.AlcaBeamSpotHarvesterParameters.BeamSpotModuleName = cms.untracked.string(
'alcaBeamSpotProducerHP')
68 ALCAHARVESTBeamSpotHPByRun_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdHPByRun'))
70 ALCAHARVESTBeamSpotHPByRun_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdHPByRun'),
71 tag = cms.string(
'BeamSpotObjectHP_ByRun'),
72 timetype = cms.untracked.string(
'runnumber')
77 ALCAHARVESTBeamSpotHPByLumi = alcaBeamSpotHarvester.clone()
78 ALCAHARVESTBeamSpotHPByLumi.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string(
"lumibased")
79 ALCAHARVESTBeamSpotHPByLumi.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string(
"BeamSpotObjectsRcdHPByLumi")
80 ALCAHARVESTBeamSpotHPByLumi.AlcaBeamSpotHarvesterParameters.BeamSpotModuleName = cms.untracked.string(
'alcaBeamSpotProducerHP')
81 ALCAHARVESTBeamSpotHPByLumi.AlcaBeamSpotHarvesterParameters.DumpTxt = cms.untracked.bool(
True)
84 ALCAHARVESTBeamSpotHPByLumi_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdHPByLumi'))
86 ALCAHARVESTBeamSpotHPByLumi_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdHPByLumi'),
87 tag = cms.string(
'BeamSpotObjectHP_ByLumi'),
88 timetype = cms.untracked.string(
'lumiid')
94 ALCAHARVESTBeamSpotHPLowPUByRun = ALCAHARVESTBeamSpotHPByRun.clone()
95 ALCAHARVESTBeamSpotHPLowPUByRun.AlcaBeamSpotHarvesterParameters.BeamSpotModuleName = cms.untracked.string(
'alcaBeamSpotProducerHPLowPU')
98 ALCAHARVESTBeamSpotHPLowPUByRun_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdHPByRun'))
100 ALCAHARVESTBeamSpotHPLowPUByRun_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdHPByRun'),
101 tag = cms.string(
'BeamSpotObjectHP_ByRun'),
102 timetype = cms.untracked.string(
'runnumber')
107 ALCAHARVESTBeamSpotHPLowPUByLumi = ALCAHARVESTBeamSpotHPByLumi.clone()
108 ALCAHARVESTBeamSpotHPLowPUByLumi.AlcaBeamSpotHarvesterParameters.BeamSpotModuleName = cms.untracked.string(
'alcaBeamSpotProducerHPLowPU')
112 ALCAHARVESTBeamSpotHPLowPUByLumi_metadata = cms.PSet(record = cms.untracked.string(
'BeamSpotObjectsRcdHPByLumi'))
114 ALCAHARVESTBeamSpotHPLowPUByLumi_dbOutput = cms.PSet(record = cms.string(
'BeamSpotObjectsRcdHPByLumi'),
115 tag = cms.string(
'BeamSpotObjectHP_ByLumi'),
116 timetype = cms.untracked.string(
'lumiid')
121 ALCAHARVESTSiStripQuality_metadata = cms.PSet(record = cms.untracked.string(
'SiStripBadStripRcd'))
123 ALCAHARVESTSiStripQuality_dbOutput = cms.PSet(record = cms.string(
'SiStripBadStripRcd'),
124 tag = cms.string(
'SiStripBadStrip_pcl'),
125 timetype = cms.untracked.string(
'runnumber')
130 ALCAHARVESTSiStripGains_metadata = cms.PSet(record = cms.untracked.string(
'SiStripApvGainRcd'))
132 ALCAHARVESTSiStripGains_dbOutput = cms.PSet(record = cms.string(
'SiStripApvGainRcd'),
133 tag = cms.string(
'SiStripApvGain_pcl'),
134 timetype = cms.untracked.string(
'runnumber')
139 ALCAHARVESTSiStripGainsAAG_metadata = cms.PSet(record = cms.untracked.string(
'SiStripApvGainRcdAAG'))
141 ALCAHARVESTSiStripGainsAAG_dbOutput = cms.PSet(record = cms.string(
'SiStripApvGainRcdAAG'),
142 tag = cms.string(
'SiStripApvGainAAG_pcl'),
143 timetype = cms.untracked.string(
'runnumber')
148 ALCAHARVESTSiPixelAli_metadata = cms.PSet(record = cms.untracked.string(
'TrackerAlignmentRcd'))
150 ALCAHARVESTSiPixelAli_dbOutput = cms.PSet(record = cms.string(
'TrackerAlignmentRcd'),
151 tag = cms.string(
'SiPixelAli_pcl'),
152 timetype = cms.untracked.string(
'runnumber')
157 ALCAHARVESTEcalPedestals_metadata = cms.PSet(record = cms.untracked.string(
'EcalPedestalsRcd'))
159 ALCAHARVESTEcalPedestals_dbOutput = cms.PSet(record = cms.string(
'EcalPedestalsRcd'),
160 tag = cms.string(
'EcalPedestals_pcl'),
161 timetype = cms.untracked.string(
'runnumber')
166 ALCAHARVESTLumiPCC_metadata = cms.PSet(record = cms.untracked.string(
'LumiCorrectionsRcd'))
168 ALCAHARVESTLumiPCC_dbOutput = cms.PSet(record = cms.string(
'LumiCorrectionsRcd'),
169 tag = cms.string(
'LumiPCCCorrections_pcl'),
170 timetype = cms.untracked.string(
'lumiid')
176 ALCAHARVESTSiPixelQuality = siPixelStatusHarvester.clone()
177 ALCAHARVESTSiPixelQuality.SiPixelStatusManagerParameters.outputBase = cms.untracked.string(
"dynamicLumibased")
178 ALCAHARVESTSiPixelQuality.SiPixelStatusManagerParameters.aveDigiOcc = cms.untracked.int32(20000)
179 ALCAHARVESTSiPixelQuality.debug = cms.untracked.bool(
False)
181 ALCAHARVESTSiPixelQuality_metadata = cms.VPSet(cms.PSet(record = cms.untracked.string(
'SiPixelQualityFromDbRcd_prompt')),
182 cms.PSet(record = cms.untracked.string(
'SiPixelQualityFromDbRcd_stuckTBM')),
183 cms.PSet(record = cms.untracked.string(
'SiPixelQualityFromDbRcd_other')))
184 ALCAHARVESTSiPixelQuality_dbOutput = cms.VPSet(cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_prompt'),
185 tag = cms.string(
'SiPixelQualityFromDbRcd_prompt'),
186 timetype = cms.untracked.string(
'lumiid')
188 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_stuckTBM'),
189 tag = cms.string(
'SiPixelQualityFromDbRcd_stuckTBM'),
190 timetype = cms.untracked.string(
'lumiid'),
192 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_other'),
193 tag = cms.string(
'SiPixelQualityFromDbRcd_other'),
194 timetype = cms.untracked.string(
'lumiid')
198 if ALCAHARVESTSiPixelQuality.debug == cms.untracked.bool(
True) :
199 dbOutput_ext = cms.VPSet(
200 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_PCL'),
201 tag = cms.string(
'SiPixelQualityFromDbRcd_PCL'),
202 timetype = cms.untracked.string(
'lumiid')
204 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_FEDerror25'),
205 tag = cms.string(
'SiPixelQualityFromDbRcd_FEDerror25'),
206 timetype = cms.untracked.string(
'lumiid'),
208 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_permanentBad'),
209 tag = cms.string(
'SiPixelQualityFromDbRcd_permanentBad'),
210 timetype = cms.untracked.string(
'runnumber')
213 ALCAHARVESTSiPixelQuality_dbOutput.extend(dbOutput_ext)
216 BeamSpotByRun = cms.Path(ALCAHARVESTBeamSpotByRun)
217 BeamSpotByLumi = cms.Path(ALCAHARVESTBeamSpotByLumi)
218 BeamSpotHPByRun = cms.Path(ALCAHARVESTBeamSpotHPByRun)
219 BeamSpotHPByLumi = cms.Path(ALCAHARVESTBeamSpotHPByLumi)
220 BeamSpotHPLowPUByRun = cms.Path(ALCAHARVESTBeamSpotHPLowPUByRun)
221 BeamSpotHPLowPUByLumi = cms.Path(ALCAHARVESTBeamSpotHPLowPUByLumi)
222 SiStripQuality = cms.Path(ALCAHARVESTSiStripQuality)
223 SiStripGains = cms.Path(ALCAHARVESTSiStripGains)
224 SiPixelAli = cms.Path(ALCAHARVESTSiPixelAli)
225 EcalPedestals = cms.Path(ALCAHARVESTEcalPedestals)
226 SiStripGainsAAG = cms.Path(ALCAHARVESTSiStripGainsAAG)
227 LumiPCC = cms.Path(ALCAHARVESTLumiPCC)
228 SiPixelQuality = cms.Path(ALCAHARVESTSiPixelQuality)
230 ALCAHARVESTDQMSaveAndMetadataWriter = cms.Path(dqmSaver+pclMetadataWriter)