/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CondTools/Geometry/test/geometryFileBlobDump.py
33 строки
1 KB
Ianna Osborne
Add an analyzer and its configuration to dump a specific FileBlob as xml
08 фев 2017, 14:07
08 фев 2017, 14:07
c945c51
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms from Configuration.AlCa.autoCond import autoCond process = cms.Process("GeometryFileDump") process.load('CondCore.CondDB.CondDB_cfi') process.load('Configuration.StandardSequences.GeometryDB_cff') process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') process.GlobalTag.globaltag = autoCond['run1_mc'] process.GlobalTag.toGet = cms.VPSet( cms.PSet(record = cms.string("GeometryFileRcd"), tag = cms.string("XMLFILE_Geometry_81YV14_Extended2017_mc"), connect = cms.string("frontier://FrontierProd/CMS_CONDITIONS"), # label = cms.string("Extended") ) ) process.source = cms.Source("EmptyIOVSource", lastValue = cms.uint64(1), timetype = cms.string('runnumber'), firstValue = cms.uint64(1), interval = cms.uint64(1) ) process.GeometryFileDump = cms.EDAnalyzer("XMLGeometryReader", XMLFileName = cms.untracked.string("GeometryExtended2017.81YV14.xml"), geomLabel = cms.untracked.string("") ) process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) ) process.p1 = cms.Path(process.GeometryFileDump)