Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:07:55

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("GeometryTest")
0004 
0005 process.load("CondCore.DBCommon.CondDBCommon_cfi")
0006 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cff")
0007 #process.load("Configuration.StandardSequences.GeometryIdeal_cff")
0008 
0009 process.maxEvents = cms.untracked.PSet(
0010         input = cms.untracked.int32(1)
0011         )
0012 
0013 process.source = cms.Source("EmptyIOVSource",
0014                                 lastValue = cms.uint64(1),
0015                                 timetype = cms.string('runnumber'),
0016                                 firstValue = cms.uint64(1),
0017                                 interval = cms.uint64(1)
0018                             )
0019 
0020 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0021                                           process.CondDBCommon,
0022                                           BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0023 
0024                                           timetype = cms.untracked.string('runnumber'),
0025                                           connect = cms.string('sqlite_file:test.db'),
0026                                           toPut = cms.VPSet(cms.PSet(record = cms.string('DTRecoGeometryRcd'),tag = cms.string('XMLFILE_TEST_01'))
0027                                                             )
0028                                           )
0029 
0030 process.dtload = cms.EDFilter("DTRecoIdealDBLoader")
0031 
0032 process.p1 = cms.Path(process.dtload)