Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:05

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.AlCa.autoCond import autoCond
0003 
0004 process = cms.Process("GeometryFileDump")
0005 process.load('CondCore.CondDB.CondDB_cfi')
0006 process.load('Configuration.StandardSequences.GeometryDB_cff')
0007 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0008 process.GlobalTag.globaltag = autoCond['run1_mc']
0009 process.GlobalTag.toGet = cms.VPSet(
0010     cms.PSet(record = cms.string("GeometryFileRcd"),
0011              tag = cms.string("XMLFILE_Geometry_81YV14_Extended2017_mc"),
0012              connect = cms.string("frontier://FrontierProd/CMS_CONDITIONS"),
0013              # label = cms.string("Extended")
0014              )
0015     )
0016 
0017 process.source = cms.Source("EmptyIOVSource",
0018                             lastValue = cms.uint64(1),
0019                             timetype = cms.string('runnumber'),
0020                             firstValue = cms.uint64(1),
0021                             interval = cms.uint64(1)
0022                             )
0023 
0024 process.GeometryFileDump = cms.EDAnalyzer("XMLGeometryReader",
0025                                           XMLFileName = cms.untracked.string("GeometryExtended2017.81YV14.xml"),
0026                                           geomLabel = cms.untracked.string("")
0027                                           )
0028 
0029 process.maxEvents = cms.untracked.PSet(
0030     input = cms.untracked.int32(1)
0031     )
0032 
0033 process.p1 = cms.Path(process.GeometryFileDump)
0034