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')
93 ALCAHARVESTSiStripQuality_metadata = cms.PSet(record = cms.untracked.string(
'SiStripBadStripRcd'))
95 ALCAHARVESTSiStripQuality_dbOutput = cms.PSet(record = cms.string(
'SiStripBadStripRcd'),
96 tag = cms.string(
'SiStripBadStrip_pcl'),
97 timetype = cms.untracked.string(
'runnumber')
102 ALCAHARVESTSiStripGains_metadata = cms.PSet(record = cms.untracked.string(
'SiStripApvGainRcd'))
104 ALCAHARVESTSiStripGains_dbOutput = cms.PSet(record = cms.string(
'SiStripApvGainRcd'),
105 tag = cms.string(
'SiStripApvGain_pcl'),
106 timetype = cms.untracked.string(
'runnumber')
111 ALCAHARVESTSiStripGainsAAG_metadata = cms.PSet(record = cms.untracked.string(
'SiStripApvGainRcdAAG'))
113 ALCAHARVESTSiStripGainsAAG_dbOutput = cms.PSet(record = cms.string(
'SiStripApvGainRcdAAG'),
114 tag = cms.string(
'SiStripApvGainAAG_pcl'),
115 timetype = cms.untracked.string(
'runnumber')
120 ALCAHARVESTSiPixelAli_metadata = cms.PSet(record = cms.untracked.string(
'TrackerAlignmentRcd'))
122 ALCAHARVESTSiPixelAli_dbOutput = cms.PSet(record = cms.string(
'TrackerAlignmentRcd'),
123 tag = cms.string(
'SiPixelAli_pcl'),
124 timetype = cms.untracked.string(
'runnumber')
129 ALCAHARVESTEcalPedestals_metadata = cms.PSet(record = cms.untracked.string(
'EcalPedestalsRcd'))
131 ALCAHARVESTEcalPedestals_dbOutput = cms.PSet(record = cms.string(
'EcalPedestalsRcd'),
132 tag = cms.string(
'EcalPedestals_pcl'),
133 timetype = cms.untracked.string(
'runnumber')
138 ALCAHARVESTLumiPCC_metadata = cms.PSet(record = cms.untracked.string(
'LumiCorrectionsRcd'))
140 ALCAHARVESTLumiPCC_dbOutput = cms.PSet(record = cms.string(
'LumiCorrectionsRcd'),
141 tag = cms.string(
'LumiPCCCorrections_pcl'),
142 timetype = cms.untracked.string(
'lumiid')
148 ALCAHARVESTSiPixelQuality = siPixelStatusHarvester.clone()
149 ALCAHARVESTSiPixelQuality.SiPixelStatusManagerParameters.outputBase = cms.untracked.string(
"dynamicLumibased")
150 ALCAHARVESTSiPixelQuality.SiPixelStatusManagerParameters.aveDigiOcc = cms.untracked.int32(20000)
151 ALCAHARVESTSiPixelQuality.debug = cms.untracked.bool(
False)
153 ALCAHARVESTSiPixelQuality_metadata = cms.VPSet(cms.PSet(record = cms.untracked.string(
'SiPixelQualityFromDbRcd_prompt')),
154 cms.PSet(record = cms.untracked.string(
'SiPixelQualityFromDbRcd_stuckTBM')),
155 cms.PSet(record = cms.untracked.string(
'SiPixelQualityFromDbRcd_other')))
156 ALCAHARVESTSiPixelQuality_dbOutput = cms.VPSet(cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_prompt'),
157 tag = cms.string(
'SiPixelQualityFromDbRcd_prompt'),
158 timetype = cms.untracked.string(
'lumiid')
160 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_stuckTBM'),
161 tag = cms.string(
'SiPixelQualityFromDbRcd_stuckTBM'),
162 timetype = cms.untracked.string(
'lumiid'),
164 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_other'),
165 tag = cms.string(
'SiPixelQualityFromDbRcd_other'),
166 timetype = cms.untracked.string(
'lumiid')
170 if ALCAHARVESTSiPixelQuality.debug == cms.untracked.bool(
True) :
171 ALCAHARVESTSiPixelQuality_dbOutput.append(
172 cms.PSet(record = cms.string(
'SiPixelQualityFromDbRcd_PCL'),
173 tag = cms.string(
'SiPixelQualityFromDbRcd_PCL'),
174 timetype = cms.untracked.string(
'lumiid')
179 BeamSpotByRun = cms.Path(ALCAHARVESTBeamSpotByRun)
180 BeamSpotByLumi = cms.Path(ALCAHARVESTBeamSpotByLumi)
181 BeamSpotHPByRun = cms.Path(ALCAHARVESTBeamSpotHPByRun)
182 BeamSpotHPByLumi = cms.Path(ALCAHARVESTBeamSpotHPByLumi)
183 SiStripQuality = cms.Path(ALCAHARVESTSiStripQuality)
184 SiStripGains = cms.Path(ALCAHARVESTSiStripGains)
185 SiPixelAli = cms.Path(ALCAHARVESTSiPixelAli)
186 EcalPedestals = cms.Path(ALCAHARVESTEcalPedestals)
187 SiStripGainsAAG = cms.Path(ALCAHARVESTSiStripGainsAAG)
188 LumiPCC = cms.Path(ALCAHARVESTLumiPCC)
189 SiPixelQuality = cms.Path(ALCAHARVESTSiPixelQuality)
191 ALCAHARVESTDQMSaveAndMetadataWriter = cms.Path(dqmSaver+pclMetadataWriter)