/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CondTools/Geometry/test/rpcgeometrywriter.py
40 строк
2 KB
Ianna Osborne
address issue 33373
05 ноя 2021, 13:10
05 ноя 2021, 13:10
806de2f
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms process = cms.Process("RPCGeometryWriter") process.load('CondCore.CondDB.CondDB_cfi') process.load('Configuration.StandardSequences.GeometryExtended_cff') process.load('Geometry.MuonNumbering.muonNumberingInitialization_cfi') process.load("Geometry.MuonNumbering.muonGeometryConstants_cff") process.load('Configuration.StandardSequences.DD4hep_GeometrySim_cff') process.load('FWCore.MessageService.MessageLogger_cfi') process.MessageLogger = cms.Service("MessageLogger", destinations = cms.untracked.vstring('myLog'), myLog = cms.untracked.PSet( threshold = cms.untracked.string('INFO'), ) ) process.source = cms.Source("EmptyIOVSource", lastValue = cms.uint64(1), timetype = cms.string('runnumber'), firstValue = cms.uint64(1), interval = cms.uint64(1) ) process.RPCGeometryWriter = cms.EDAnalyzer("RPCRecoIdealDBLoader", fromDD4hep = cms.untracked.bool(False)) process.CondDB.timetype = cms.untracked.string('runnumber') process.CondDB.connect = cms.string('sqlite_file:myfile.db') process.PoolDBOutputService = cms.Service("PoolDBOutputService", process.CondDB, toPut = cms.VPSet(cms.PSet(record = cms.string('RPCRecoGeometryRcd'),tag = cms.string('RPCRECO_Geometry_Test01')) ) ) process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) ) process.p1 = cms.Path(process.RPCGeometryWriter)