CMS 3D CMS Logo

OfflineSiStripConfigDb_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # config db parameters
5 SiStripConfigDb.UsingDb = True # should be true!
6 SiStripConfigDb.ConfDb = 'user/password@account' # taken from $CONFDB
7 
8 # use the config db rather than conditions db configuration parameters
9 SiStripCondObjBuilderFromDb = cms.Service("SiStripCondObjBuilderFromDb")
10 FedCablingFromConfigDb = cms.ESSource("SiStripFedCablingBuilderFromDb",
11  CablingSource = cms.untracked.string('UNDEFINED')
12 )
13 myFedCablingPrefer = cms.ESPrefer("SiStripFedCablingBuilderFromDb", "FedCablingFromConfigDb")
14 PedestalsFromConfigDb = cms.ESSource("SiStripPedestalsBuilderFromDb")
15 myPedestalsPrefer = cms.ESPrefer("SiStripPedestalsBuilderFromDb", "PedestalsFromConfigDb")
16 NoiseFromConfigDb = cms.ESSource("SiStripNoiseBuilderFromDb")
17 myNoisePrefer = cms.ESPrefer("SiStripNoiseBuilderFromDb", "NoiseFromConfigDb")
18 # produce SiStripFecCabling and SiStripDetCabling out of SiStripFedCabling
19 sistripconn = cms.ESProducer("SiStripConnectivity")
20 SiStripDetInfoFileReader = cms.Service("SiStripDetInfoFileReader")