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("DTDBINIT")
0004 
0005 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0006 process.CondDBCommon.connect = 'sqlite_file:testconf.db'
0007 
0008 process.source = cms.Source("EmptyIOVSource",
0009     timetype   = cms.string('runnumber'),
0010     firstValue = cms.uint64(1),
0011     lastValue  = cms.uint64(1),
0012     interval   = cms.uint64(1)
0013 )
0014 
0015 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0016     process.CondDBCommon,
0017     logconnect = cms.untracked.string('sqlite_file:log.db'),
0018     timetype = cms.untracked.string('runnumber'),
0019     withWrapper = cms.untracked.bool(False),
0020     outOfOrder = cms.untracked.bool(True),
0021     toPut = cms.VPSet(
0022     cms.PSet(
0023         record = cms.string('DTCCBConfigRcd'),
0024         tag = cms.string('conf_test'),
0025         timetype = cms.untracked.string('runnumber')
0026     ),
0027     cms.PSet(
0028         record = cms.string('keyedConfBricks'),
0029         tag = cms.string('DT_keyedConfBricks_V01'),
0030         timetype = cms.untracked.string('hash'),
0031         withWrapper = cms.untracked.bool(True),
0032         outOfOrder = cms.untracked.bool(True)
0033     ),
0034     cms.PSet(
0035         record = cms.string('keyedConfListIOV'),
0036         tag = cms.string('DT_keyedConfListIOV_V01'),
0037         timetype = cms.untracked.string('runnumber'),
0038         withWrapper = cms.untracked.bool(True),
0039         outOfOrder = cms.untracked.bool(False)
0040     )
0041     )
0042 )
0043 
0044 process.conf_init = cms.EDAnalyzer("DTKeyedConfigDBInit",
0045     container = cms.string('keyedConfBricks'),
0046     iov       = cms.string('keyedConfListIOV')
0047 )
0048 
0049 process.p = cms.Path(process.conf_init)
0050