CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/OnlineDB/SiStripESSources/python/test_FedCablingFromConfigDb_cfg.py

Go to the documentation of this file.
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