00001 import FWCore.ParameterSet.Config as cms 00002 00003 process = cms.Process("testFedCablingFromConfigDb") 00004 00005 process.load("DQM.SiStripCommon.MessageLogger_cfi") 00006 00007 process.load("OnlineDB.SiStripESSources.FedCablingFromConfigDb_cff") 00008 process.SiStripConfigDb.UsingDb = True 00009 process.SiStripConfigDb.ConfDb = '' 00010 process.SiStripConfigDb.Partitions.PrimaryPartition.PartitionName = '' 00011 process.SiStripConfigDb.Partitions.PrimaryPartition.RunNumber = 0 00012 process.fedCablingFromConfigDb.CablingSource = 'UNDEFINED' 00013 00014 process.load("IORawData.SiStripInputSources.EmptySource_cff") 00015 process.maxEvents.input = 2 00016 00017 process.test = cms.EDAnalyzer("test_FedCablingBuilder") 00018 00019 process.p = cms.Path(process.test) 00020