test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
test_FedCablingFromConfigDb_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("testFedCablingFromConfigDb")
4 
5 process.load("DQM.SiStripCommon.MessageLogger_cfi")
6 
7 process.load("OnlineDB.SiStripESSources.FedCablingFromConfigDb_cff")
8 process.SiStripConfigDb.UsingDb = True
9 process.SiStripConfigDb.ConfDb = ''
10 process.SiStripConfigDb.Partitions.PrimaryPartition.PartitionName = ''
11 process.SiStripConfigDb.Partitions.PrimaryPartition.RunNumber = 0
12 process.FedCablingFromConfigDb.CablingSource = 'UNDEFINED'
13 
14 process.load("IORawData.SiStripInputSources.EmptySource_cff")
15 process.maxEvents.input = 2
16 
17 process.test = cms.EDAnalyzer("test_FedCablingBuilder")
18 
19 process.p = cms.Path(process.test)
20