Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:11:36

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # config db parameters
0004 from OnlineDB.SiStripConfigDb.SiStripConfigDb_cfi import *
0005 SiStripConfigDb.UsingDb = True                    # should be true!
0006 SiStripConfigDb.ConfDb = 'user/password@account'  # taken from $CONFDB
0007 
0008 # use the config db rather than conditions db configuration parameters
0009 SiStripCondObjBuilderFromDb = cms.Service("SiStripCondObjBuilderFromDb")
0010 SiStripCondObjBuilderFromDb.SiStripDetInfoFile = cms.FileInPath("CalibTracker/SiStripCommon/data/SiStripDetInfo.dat")
0011 FedCablingFromConfigDb = cms.ESSource("SiStripFedCablingBuilderFromDb",
0012     CablingSource = cms.untracked.string('UNDEFINED')
0013 )
0014 myFedCablingPrefer = cms.ESPrefer("SiStripFedCablingBuilderFromDb", "FedCablingFromConfigDb")
0015 PedestalsFromConfigDb = cms.ESSource("SiStripPedestalsBuilderFromDb")
0016 myPedestalsPrefer = cms.ESPrefer("SiStripPedestalsBuilderFromDb", "PedestalsFromConfigDb")
0017 NoiseFromConfigDb = cms.ESSource("SiStripNoiseBuilderFromDb")
0018 myNoisePrefer = cms.ESPrefer("SiStripNoiseBuilderFromDb", "NoiseFromConfigDb")
0019 # produce SiStripFecCabling and SiStripDetCabling out of SiStripFedCabling
0020 sistripconn = cms.ESProducer("SiStripConnectivity")