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 SiStripCondObjBuilderFromDb.SiStripDetInfoFile = cms.FileInPath("CalibTracker/SiStripCommon/data/SiStripDetInfo.dat")
11 FedCablingFromConfigDb = cms.ESSource("SiStripFedCablingBuilderFromDb",
12  CablingSource = cms.untracked.string('UNDEFINED')
13 )
14 myFedCablingPrefer = cms.ESPrefer("SiStripFedCablingBuilderFromDb", "FedCablingFromConfigDb")
15 PedestalsFromConfigDb = cms.ESSource("SiStripPedestalsBuilderFromDb")
16 myPedestalsPrefer = cms.ESPrefer("SiStripPedestalsBuilderFromDb", "PedestalsFromConfigDb")
17 NoiseFromConfigDb = cms.ESSource("SiStripNoiseBuilderFromDb")
18 myNoisePrefer = cms.ESPrefer("SiStripNoiseBuilderFromDb", "NoiseFromConfigDb")
19 # produce SiStripFecCabling and SiStripDetCabling out of SiStripFedCabling
20 sistripconn = cms.ESProducer("SiStripConnectivity")
SiStripConfigDb_cfi