Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-04-17 02:42:23

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from CondCore.DBCommon.CondDBSetup_cfi import *
0004 
0005 # Read constants from DB.
0006 l1csctpdbconfsrc = cms.ESSource("PoolDBESSource",
0007     CondDBSetup,
0008     #connect = cms.string('frontier://FrontierDev/CMS_COND_CSC'),
0009     #connect = cms.string('frontier://cmsfrontier.cern.ch:8000/FrontierProd/CMS_COND_21X_CSC'),
0010     connect =  cms.string('oracle://cms_orcoff_prep/CMS_COND_CSC'),
0011     #connect = cms.string('sqlite_file:DBL1TPParameters.db'),
0012     toGet = cms.VPSet(
0013         cms.PSet(
0014             record = cms.string('CSCDBL1TPParametersRcd'),
0015             #tag = cms.string('CSCL1TPParameters')
0016             tag = cms.string('CSCDBL1TPParameters_hlt')
0017             #tag = cms.string('CSCL1TPParameters_mc')
0018         )
0019     )
0020 )
0021 
0022 l1csctpdbconfsrc.DBParameters.authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0023 l1csctpdbconfsrc.DBParameters.authenticationMethod = cms.untracked.uint32(1)
0024 
0025 # Reading from DB has precedence over dummy producers (which use constants
0026 # defined in cfi files).
0027 es_prefer_l1csctpdbconfsrc = cms.ESPrefer("PoolDBESSource","l1csctpdbconfsrc")