Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-07-28 03:09:38

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