Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-14 04:15:22

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Phase2C17I13M9_cff import Phase2C17I13M9
0004 process = cms.Process("ME0GeometryWriter",Phase2C17I13M9)
0005 process.load('CondCore.CondDB.CondDB_cfi')
0006 process.load('Configuration.Geometry.GeometryExtendedRun4D110_cff')
0007 process.load('Geometry.MuonNumbering.muonNumberingInitialization_cfi')
0008 process.load("Geometry.MuonNumbering.muonGeometryConstants_cff")
0009 process.load('Configuration.StandardSequences.DD4hep_GeometrySimPhase2_cff')
0010 process.load('FWCore.MessageService.MessageLogger_cfi')
0011 
0012 process.MessageLogger = cms.Service("MessageLogger",
0013     destinations = cms.untracked.vstring('myLog'),
0014     myLog = cms.untracked.PSet(
0015         threshold = cms.untracked.string('INFO'),
0016     )
0017 )
0018 
0019 process.source = cms.Source("EmptyIOVSource",
0020                             lastValue = cms.uint64(1),
0021                             timetype = cms.string('runnumber'),
0022                             firstValue = cms.uint64(1),
0023                             interval = cms.uint64(1)
0024                             )
0025 
0026 process.ME0GeometryWriter = cms.EDAnalyzer("ME0RecoIdealDBLoader")
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('ME0RecoGeometryRcd'),tag = cms.string('ME0RECO_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.ME0GeometryWriter)