/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CondTools/Geometry/test/gemgeometrywriter.py
39 строк
2 KB
Sergio Lo Meo
added DD4HEP part
24 фев 2021, 11:01
24 фев 2021, 11:01
e458851
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms process = cms.Process("GEMGeometryWriter") process.load('CondCore.CondDB.CondDB_cfi') process.load('Configuration.Geometry.GeometryExtended2021_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.GEMGeometryWriter = cms.EDAnalyzer("GEMRecoIdealDBLoader") 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('GEMRecoGeometryRcd'),tag = cms.string('GEMRECO_Geometry_Test01')) ) ) process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) ) process.p1 = cms.Path(process.GEMGeometryWriter)