Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DBTest")
0004 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0005 
0006 process.source = cms.Source("EmptySource")
0007 
0008 process.maxEvents = cms.untracked.PSet(
0009     input = cms.untracked.int32(1)
0010 )
0011 process.RPCCabling = cms.ESSource("PoolDBESSource",
0012     process.CondDBSetup,
0013     toGet = cms.VPSet(cms.PSet(
0014         record = cms.string('RPCEMapRcd'),
0015         tag = cms.string('RPCEMap_v2')
0016     )),
0017     connect = cms.string('sqlite_file:RPCEMap.db')
0018 )
0019 
0020 process.reader = cms.EDAnalyzer("RPCReadOutMapAnalyzer",
0021     useNewEMap = cms.untracked.bool(True)
0022 )
0023 
0024 process.p1 = cms.Path(process.reader)
0025 
0026