00001 import FWCore.ParameterSet.Config as cms 00002 00003 # config db parameters 00004 from OnlineDB.SiStripConfigDb.SiStripConfigDb_cfi import * 00005 SiStripConfigDb.UsingDb = True # should be true! 00006 SiStripConfigDb.ConfDb = 'user/password@account' # taken from $CONFDB 00007 00008 # use the config db rather than conditions db configuration parameters 00009 SiStripCondObjBuilderFromDb = cms.Service("SiStripCondObjBuilderFromDb") 00010 FedCablingFromConfigDb = cms.ESSource("SiStripFedCablingBuilderFromDb", 00011 CablingSource = cms.untracked.string('UNDEFINED') 00012 ) 00013 myFedCablingPrefer = cms.ESPrefer("SiStripFedCablingBuilderFromDb", "FedCablingFromConfigDb") 00014 PedestalsFromConfigDb = cms.ESSource("SiStripPedestalsBuilderFromDb") 00015 myPedestalsPrefer = cms.ESPrefer("SiStripPedestalsBuilderFromDb", "PedestalsFromConfigDb") 00016 NoiseFromConfigDb = cms.ESSource("SiStripNoiseBuilderFromDb") 00017 myNoisePrefer = cms.ESPrefer("SiStripNoiseBuilderFromDb", "NoiseFromConfigDb") 00018 # produce SiStripFecCabling and SiStripDetCabling out of SiStripFedCabling 00019 sistripconn = cms.ESProducer("SiStripConnectivity") 00020 SiStripDetInfoFileReader = cms.Service("SiStripDetInfoFileReader")