Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-03-19 06:07:12

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ME0GeometryWriter")
0004 process.load('CondCore.CondDB.CondDB_cfi')
0005 process.load('Configuration.Geometry.GeometryExtended2026D49_cff')
0006 process.load('Geometry.MuonNumbering.muonNumberingInitialization_cfi')
0007 process.load("Geometry.MuonNumbering.muonGeometryConstants_cff")
0008 process.load('Configuration.StandardSequences.DD4hep_GeometrySimPhase2_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.ME0GeometryWriter = cms.EDAnalyzer("ME0RecoIdealDBLoader")
0026 
0027 process.CondDB.timetype = cms.untracked.string('runnumber')
0028 process.CondDB.connect = cms.string('sqlite_file:myfile.db')
0029 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0030                                           process.CondDB,
0031                                           toPut = cms.VPSet(cms.PSet(record = cms.string('ME0RecoGeometryRcd'),tag = cms.string('ME0RECO_Geometry_Test01'))
0032                                                             )
0033                                           )
0034 
0035 process.maxEvents = cms.untracked.PSet(
0036     input = cms.untracked.int32(1)
0037     )
0038 
0039 process.p1 = cms.Path(process.ME0GeometryWriter)