File indexing completed on 2024-04-06 12:03:05
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("XMLGeometryWriter")
0004
0005 process.load('CondCore.CondDB.CondDB_cfi')
0006
0007 process.source = cms.Source("EmptyIOVSource",
0008 lastValue = cms.uint64(1),
0009 timetype = cms.string('runnumber'),
0010 firstValue = cms.uint64(1),
0011 interval = cms.uint64(1)
0012 )
0013
0014 process.XMLGeometryWriter = cms.EDAnalyzer("XMLGeometryBuilder",
0015 XMLFileName = cms.untracked.string("./geSingleBigFile.xml"),
0016 ZIP = cms.untracked.bool(True)
0017 )
0018
0019 process.CondDB.timetype = cms.untracked.string('runnumber')
0020 process.CondDB.connect = cms.string('sqlite_file:myfile.db')
0021 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0022 process.CondDB,
0023 toPut = cms.VPSet(cms.PSet(record = cms.string('GeometryFileRcd'),tag = cms.string('XMLFILE_Geometry_TagXX_Extended2015dev_mc')))
0024 )
0025
0026 process.maxEvents = cms.untracked.PSet(
0027 input = cms.untracked.int32(1)
0028 )
0029
0030 process.p1 = cms.Path(process.XMLGeometryWriter)