Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-06 04:13:25

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("CSCGeometryWriter")
0004 process.load('CondCore.CondDB.CondDB_cfi')
0005 process.load('Configuration.StandardSequences.GeometryExtended_cff')
0006 process.load('Geometry.MuonNumbering.muonNumberingInitialization_cfi')
0007 process.load("Geometry.MuonNumbering.muonGeometryConstants_cff")
0008 process.load('Configuration.StandardSequences.DD4hep_GeometrySim_cff')
0009 
0010 process.source = cms.Source("EmptyIOVSource",
0011                             lastValue = cms.uint64(1),
0012                             timetype = cms.string('runnumber'),
0013                             firstValue = cms.uint64(1),
0014                             interval = cms.uint64(1)
0015                             )
0016 
0017 process.CSCGeometryWriter = cms.EDAnalyzer("CSCRecoIdealDBLoader",
0018                                            fromDD4hep = cms.bool(False))
0019 
0020 process.CondDB.timetype = cms.untracked.string('runnumber')
0021 process.CondDB.connect = cms.string('sqlite_file:myfile.db')
0022 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0023                                           process.CondDB,
0024                                           toPut = cms.VPSet(cms.PSet(record = cms.string('CSCRecoGeometryRcd'),tag = cms.string('CSCRECO_Geometry_Test01')),
0025                                                             cms.PSet(record = cms.string('CSCRecoDigiParametersRcd'),tag = cms.string('CSCRECODIGI_Geometry_Test01')))
0026                                           )
0027 
0028 process.maxEvents = cms.untracked.PSet(
0029     input = cms.untracked.int32(1)
0030     )
0031 
0032 process.p1 = cms.Path(process.CSCGeometryWriter)