CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/Configuration/StandardSequences/python/AlCaHarvesting_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # import the needed ingredients
00004 from Calibration.TkAlCaRecoProducers.AlcaBeamSpotHarvester_cff import *
00005 from Calibration.TkAlCaRecoProducers.AlcaSiStripQualityHarvester_cff import *
00006 from Calibration.TkAlCaRecoProducers.PCLMetadataWriter_cfi import *
00007 
00008 # commoon ingredients
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                                   #    timetype   = cms.untracked.string('lumiid')
00017                                   #    timetype   = cms.untracked.string('runnumber')
00018                                   )
00019 
00020 
00021 from DQMServices.Components.DQMFileSaver_cfi import * # FIXME
00022 dqmSaver.convention = 'Offline'
00023 dqmSaver.workflow = '/Express/PCLTest/ALCAPROMPT'
00024 #dqmSaver.saveAtJobEnd = True
00025 
00026 # workflow definitions
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 #                                              destDB              = cms.untracked.string("oracle://cms_orcon_prod/CMS_COND_31X_BEAMSPOT"),
00035 #                                              destDBValidation    = cms.untracked.string("oracle://cms_orcoff_prep/CMS_COND_BEAMSPOT"),
00036 #                                              tag                 = cms.untracked.string("BeamSpotObjects_PCL_byRun_v0_offline"),
00037 #                                              Timetype            = cms.untracked.string("runnumber"),
00038 #                                              IOVCheck            = cms.untracked.string("All"),
00039 #                                              DuplicateTagHLT     = cms.untracked.string("BeamSpotObjects_PCL_byRun_v0_hlt"),
00040 #                                              DuplicateTagEXPRESS = cms.untracked.string(""),
00041 #                                              DuplicateTagPROMPT  = cms.untracked.string("BeamSpotObjects_PCL_byRun_v0_prompt"),
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 #                                               destDB              = cms.untracked.string("oracle://cms_orcon_prod/CMS_COND_31X_BEAMSPOT"),
00057 #                                               destDBValidation    = cms.untracked.string("oracle://cms_orcoff_prep/CMS_COND_BEAMSPOT"),
00058 #                                               tag                 = cms.untracked.string("BeamSpotObjects_PCL_byLumi_v0_offline"),
00059 #                                               Timetype            = cms.untracked.string("lumiid"),
00060 #                                               IOVCheck            = cms.untracked.string("All"),
00061 #                                               DuplicateTagHLT     = cms.untracked.string("BeamSpotObjects_PCL_byLumi_v0_hlt"),
00062 #                                               DuplicateTagEXPRESS = cms.untracked.string(""),
00063 #                                               DuplicateTagPROMPT  = cms.untracked.string("BeamSpotObjects_PCL_byLumi_v0_prompt"),
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 #                                               destDB              = cms.untracked.string("oracle://cms_orcon_prod/CMS_COND_31X_STRIP"),
00073 #                                               destDBValidation    = cms.untracked.string("oracle://cms_orcoff_prep/CMS_COND_STRIP"),
00074 #                                               tag                 = cms.untracked.string("SiStripBadChannel_PCL_v0_offline"),
00075 #                                               Timetype            = cms.untracked.string("runnumber"),
00076 #                                               IOVCheck            = cms.untracked.string("All"),
00077 #                                               DuplicateTagHLT     = cms.untracked.string("SiStripBadChannel_PCL_v0_hlt"),
00078 #                                               DuplicateTagEXPRESS = cms.untracked.string(""),
00079 #                                               DuplicateTagPROMPT  = cms.untracked.string("SiStripBadChannel_PCL_v0_prompt"),
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 # define the paths
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 #promptCalibHarvest = cms.Path(alcaBeamSpotHarvester)
00097 
00098 
00099