CMS 3D CMS Logo

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