Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004 from Calibration.TkAlCaRecoProducers.AlcaBeamSpotHarvester_cff import *
00005 from Calibration.TkAlCaRecoProducers.AlcaSiStripQualityHarvester_cff import *
00006 from Calibration.TkAlCaRecoProducers.PCLMetadataWriter_cfi import *
00007
00008
00009 from CondCore.DBCommon.CondDBCommon_cfi import CondDBCommon
00010 CondDBCommon.connect = "sqlite_file:promptCalibConditions.db"
00011
00012 PoolDBOutputService = cms.Service("PoolDBOutputService",
00013 CondDBCommon,
00014 toPut = cms.VPSet(),
00015 loadBlobStreamer = cms.untracked.bool(False),
00016
00017
00018 )
00019
00020
00021 from DQMServices.Components.DQMFileSaver_cfi import *
00022 dqmSaver.convention = 'Offline'
00023 dqmSaver.workflow = '/Express/PCLTest/ALCAPROMPT'
00024
00025
00026
00027
00028 ALCAHARVESTBeamSpotByRun = alcaBeamSpotHarvester.clone()
00029 ALCAHARVESTBeamSpotByRun.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string("runbased")
00030 ALCAHARVESTBeamSpotByRun.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string("BeamSpotObjectsRcdByRun")
00031
00032
00033 ALCAHARVESTBeamSpotByRun_metadata = cms.PSet(record = cms.untracked.string('BeamSpotObjectsRcdByRun'),
00034
00035
00036
00037
00038
00039
00040
00041
00042 )
00043
00044
00045 ALCAHARVESTBeamSpotByRun_dbOutput = cms.PSet(record = cms.string('BeamSpotObjectsRcdByRun'),
00046 tag = cms.string('BeamSpotObject_ByRun'),
00047 timetype = cms.untracked.string('runnumber'))
00048
00049
00050 ALCAHARVESTBeamSpotByLumi = alcaBeamSpotHarvester.clone()
00051 ALCAHARVESTBeamSpotByLumi.AlcaBeamSpotHarvesterParameters.BeamSpotOutputBase = cms.untracked.string("lumibased")
00052 ALCAHARVESTBeamSpotByLumi.AlcaBeamSpotHarvesterParameters.outputRecordName = cms.untracked.string("BeamSpotObjectsRcdByLumi")
00053
00054
00055 ALCAHARVESTBeamSpotByLumi_metadata = cms.PSet(record = cms.untracked.string('BeamSpotObjectsRcdByLumi'),
00056
00057
00058
00059
00060
00061
00062
00063
00064 )
00065
00066 ALCAHARVESTBeamSpotByLumi_dbOutput = cms.PSet(record = cms.string('BeamSpotObjectsRcdByLumi'),
00067 tag = cms.string('BeamSpotObject_ByLumi'),
00068 timetype = cms.untracked.string('lumiid'))
00069
00070
00071 ALCAHARVESTSiStripQuality_metadata = cms.PSet(record = cms.untracked.string('SiStripBadStripRcd'),
00072
00073
00074
00075
00076
00077
00078
00079
00080 )
00081
00082
00083 ALCAHARVESTSiStripQuality_dbOutput = cms.PSet(record = cms.string('SiStripBadStripRcd'),
00084 tag = cms.string('SiStripBadStrip_pcl'),
00085 timetype = cms.untracked.string('runnumber'))
00086
00087
00088
00089
00090 BeamSpotByRun = cms.Path(ALCAHARVESTBeamSpotByRun)
00091 BeamSpotByLumi = cms.Path(ALCAHARVESTBeamSpotByLumi)
00092 SiStripQuality = cms.Path(ALCAHARVESTSiStripQuality)
00093
00094 ALCAHARVESTDQMSaveAndMetadataWriter = cms.Path(dqmSaver+pclMetadataWriter)
00095
00096
00097
00098
00099