Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-06 04:13:25

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DTGeometryWriter")
0004 process.load('CondCore.CondDB.CondDB_cfi')
0005 process.load('Configuration.StandardSequences.GeometryExtended_cff')
0006 process.load('Geometry.MuonNumbering.muonNumberingInitialization_cfi')
0007 process.load("Geometry.MuonNumbering.muonGeometryConstants_cff")
0008 process.load('Configuration.StandardSequences.DD4hep_GeometrySim_cff')
0009 process.load('FWCore.MessageService.MessageLogger_cfi')
0010 
0011 process.MessageLogger = cms.Service("MessageLogger",
0012     destinations = cms.untracked.vstring('myLog'),
0013     myLog = cms.untracked.PSet(
0014         threshold = cms.untracked.string('INFO'),
0015     )
0016 )
0017 
0018 process.source = cms.Source("EmptyIOVSource",
0019                             lastValue = cms.uint64(1),
0020                             timetype = cms.string('runnumber'),
0021                             firstValue = cms.uint64(1),
0022                             interval = cms.uint64(1)
0023                             )
0024 
0025 process.DTGeometryWriter = cms.EDAnalyzer("DTRecoIdealDBLoader",
0026                                            fromDD4hep = cms.untracked.bool(False))
0027 
0028 process.CondDB.timetype = cms.untracked.string('runnumber')
0029 process.CondDB.connect = cms.string('sqlite_file:myfile.db')
0030 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0031                                           process.CondDB,
0032                                           toPut = cms.VPSet(cms.PSet(record = cms.string('DTRecoGeometryRcd'),tag = cms.string('DTRECO_Geometry_Test01'))
0033                                                             )
0034                                           )
0035 
0036 process.maxEvents = cms.untracked.PSet(
0037     input = cms.untracked.int32(1)
0038     )
0039 
0040 process.p1 = cms.Path(process.DTGeometryWriter)