Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:33

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ReadCablingTest")
0004 process.source = cms.Source("EmptySource")
0005 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1))
0006 
0007 process.load("CalibTracker.Configuration.SiPixelCabling.SiPixelCabling_SQLite_cff")
0008 process.siPixelCabling.connect = 'sqlite_file:cabling.db'
0009 process.siPixelCabling.toGet = cms.VPSet(cms.PSet(
0010     record = cms.string('SiPixelFedCablingMapRcd'),
0011     tag = cms.string('SiPixelFedCablingMap_v16')
0012 ))
0013 
0014 process.MessageLogger = cms.Service("MessageLogger",
0015     cerr = cms.untracked.PSet(
0016         enable = cms.untracked.bool(False)
0017     ),
0018     debugModules = cms.untracked.vstring('*'),
0019     files = cms.untracked.PSet(
0020         read = cms.untracked.PSet(
0021             threshold = cms.untracked.string('INFO')
0022         )
0023     )
0024 )
0025 
0026 process.readstruct =  cms.EDAnalyzer("SiPixelFedCablingMapAnalyzer")
0027 
0028 process.p = cms.Path(process.readstruct)
0029