CMS 3D CMS Logo

L1CSCTriggerPrimitivesDBConfig_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 # Read constants from DB.
6 l1csctpdbconfsrc = cms.ESSource("PoolDBESSource",
7  CondDBSetup,
8  timetype = cms.string('runnumber'),
9  #connect = cms.string('frontier://FrontierDev/CMS_COND_CSC'),
10  #connect = cms.string('frontier://cmsfrontier.cern.ch:8000/FrontierProd/CMS_COND_21X_CSC'),
11  connect = cms.string('oracle://cms_orcoff_prep/CMS_COND_CSC'),
12  #connect = cms.string('sqlite_file:DBL1TPParameters.db'),
13  toGet = cms.VPSet(
14  cms.PSet(
15  record = cms.string('CSCDBL1TPParametersRcd'),
16  #tag = cms.string('CSCL1TPParameters')
17  tag = cms.string('CSCDBL1TPParameters_hlt')
18  #tag = cms.string('CSCL1TPParameters_mc')
19  )
20  )
21 )
22 
23 l1csctpdbconfsrc.DBParameters.authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
24 l1csctpdbconfsrc.DBParameters.authenticationMethod = cms.untracked.uint32(1)
25 
26 # Reading from DB has precedence over dummy producers (which use constants
27 # defined in cfi files).
28 es_prefer_l1csctpdbconfsrc = cms.ESPrefer("PoolDBESSource","l1csctpdbconfsrc")
CondDBSetup_cfi