CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/L1TriggerConfig/L1CSCTPConfigProducers/python/L1CSCTriggerPrimitivesDBConfig_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #from L1TriggerConfig.L1CSCTPConfigProducers.L1CSCTriggerPrimitivesConfig_cfi import *
00004 
00005 from CondCore.DBCommon.CondDBSetup_cfi import *
00006 
00007 # Read constants from DB.
00008 l1csctpdbconfsrc = cms.ESSource("PoolDBESSource",
00009     CondDBSetup,
00010     timetype = cms.string('runnumber'),
00011     #connect = cms.string('frontier://FrontierDev/CMS_COND_CSC'),
00012     #connect = cms.string('frontier://cmsfrontier.cern.ch:8000/FrontierProd/CMS_COND_21X_CSC'),
00013     connect =  cms.string('oracle://cms_orcoff_prep/CMS_COND_CSC'),
00014     #connect = cms.string('sqlite_file:DBL1TPParameters.db'),
00015     toGet = cms.VPSet(
00016         cms.PSet(
00017             record = cms.string('CSCDBL1TPParametersRcd'),
00018             #tag = cms.string('CSCL1TPParameters')
00019             tag = cms.string('CSCDBL1TPParameters_hlt')
00020             #tag = cms.string('CSCL1TPParameters_mc')
00021         )
00022     )
00023 )
00024 
00025 l1csctpdbconfsrc.DBParameters.authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
00026 l1csctpdbconfsrc.DBParameters.authenticationMethod = cms.untracked.uint32(1)
00027 
00028 # Reading from DB has precedence over dummy producers (which use constants
00029 # defined in cfi files).
00030 es_prefer_l1csctpdbconfsrc = cms.ESPrefer("PoolDBESSource","l1csctpdbconfsrc")