CMS 3D CMS Logo

test_AnalyzeCabling_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("testAnalyzeCabling")
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_AnalyzeCabling")
18 
19 process.p = cms.Path(process.test)
20