Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0005 
0006 process.CondDBCommon.connect = 'sqlite_file:userconf.db'
0007 process.CondDBCommon.DBParameters.authenticationPath = '.'
0008 
0009 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0010     process.CondDBCommon,
0011     logconnect = cms.untracked.string('sqlite_file:log.db'),
0012     toPut = cms.VPSet(
0013     cms.PSet(
0014         record = cms.string('DTCCBConfigRcd'),
0015         tag = cms.string('conf_test'),
0016         timetype = cms.untracked.string('runnumber')
0017     ),
0018     cms.PSet(
0019         record = cms.string('keyedConfBricks'),
0020         tag = cms.string('DT_keyedConfBricks_V01'),
0021         timetype = cms.untracked.string('hash'),
0022         withWrapper = cms.untracked.bool(True),
0023         outOfOrder = cms.untracked.bool(True)
0024     ),
0025     cms.PSet(
0026         record = cms.string('keyedConfListIOV'),
0027         tag = cms.string('DT_keyedConfListIOV_V01'),
0028         timetype = cms.untracked.string('runnumber'),
0029         withWrapper = cms.untracked.bool(True),
0030         outOfOrder = cms.untracked.bool(False)
0031     )
0032     )
0033 )
0034 
0035 process.source = cms.Source("EmptyIOVSource",
0036     timetype   = cms.string('runnumber'),
0037     firstValue = cms.uint64(1),
0038     lastValue  = cms.uint64(1),
0039     interval   = cms.uint64(1)
0040 )
0041 
0042 process.essource = cms.ESSource("PoolDBESSource",
0043     process.CondDBCommon,
0044     DumpStat=cms.untracked.bool(True),
0045     toGet = cms.VPSet(
0046     cms.PSet(
0047     record = cms.string('DTKeyedConfigListRcd'),
0048     tag = cms.string('DT_keyedConfListIOV_V01')
0049     ),
0050     cms.PSet(
0051     record = cms.string('DTKeyedConfigContainerRcd'),
0052     tag = cms.string('DT_keyedConfBricks_V01')
0053     )
0054     )
0055 )
0056 
0057 process.conf_o2o = cms.EDAnalyzer("DTUserKeyedConfigPopConAnalyzer",
0058     name = cms.untracked.string('DTCCBConfig'),
0059     Source = cms.PSet(
0060         DBParameters = cms.PSet(
0061             messageLevel = cms.untracked.int32(0),
0062             authenticationPath = cms.untracked.string('.')
0063         ),
0064         onlineDB = cms.string('sqlite_file:dummy_online.db'),
0065         tag = cms.string('conf_test'),
0066         run = cms.int32(1),
0067         writeKeys = cms.bool(True),
0068         writeData = cms.bool(True),
0069         container = cms.string('keyedConfBricks'),
0070         DTConfigKeys = cms.VPSet(
0071             cms.PSet(
0072                 configType = cms.untracked.int32(1),
0073                 configKey  = cms.untracked.int32(542)
0074             ),
0075             cms.PSet(
0076                 configType = cms.untracked.int32(2),
0077                 configKey  = cms.untracked.int32(926)
0078             ),
0079             cms.PSet(
0080                 configType = cms.untracked.int32(3),
0081                 configKey  = cms.untracked.int32(542)
0082             ),
0083             cms.PSet(
0084                 configType = cms.untracked.int32(4),
0085                 configKey  = cms.untracked.int32(542)
0086             ),
0087             cms.PSet(
0088                 configType = cms.untracked.int32(5),
0089                 configKey  = cms.untracked.int32(542)
0090             ),
0091             cms.PSet(
0092                 configType = cms.untracked.int32(6),
0093                 configKey  = cms.untracked.int32(1226)
0094             )
0095         ),
0096         onlineAuthentication = cms.string('.')
0097     ),
0098     SinceAppendMode = cms.bool(True),
0099     record = cms.string('DTCCBConfigRcd'),
0100     loggingOn = cms.untracked.bool(True),
0101     debug = cms.bool(False)
0102 )
0103 
0104 process.p = cms.Path(process.conf_o2o)
0105