Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:14:41

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('VALID')
0004 
0005 process.source = cms.Source('EmptySource')
0006 
0007 process.maxEvents = cms.untracked.PSet(
0008     input = cms.untracked.int32(1)
0009     )
0010 
0011 process.load('Configuration.StandardSequences.DD4hep_GeometrySim_cff')
0012 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0013 process.load("Geometry.MuonNumbering.muonGeometryConstants_cff")
0014 process.load("Geometry.GEMGeometryBuilder.gemGeometry_cff")
0015 
0016 if 'MessageLogger' in process.__dict__:
0017     process.MessageLogger.Geometry=dict()
0018     process.MessageLogger.GEMNumberingScheme=dict()
0019 
0020 
0021 process.test = cms.EDAnalyzer("DDTestMuonNumbering")
0022 
0023 #
0024 # Note: Please, download the geometry file from a location
0025 #       specified by Fireworks/Geometry/data/download.url
0026 #
0027 # For example: cmsRun $CMSSW_RELEASE_BASE/src/Fireworks/Geometry/python/dumpRecoGeometry_cfg.py tag=2021
0028 #
0029 process.valid = cms.EDAnalyzer("GEMGeometryValidate",
0030                                infileName = cms.untracked.string('cmsRecoGeom-2021.root'),
0031                                outfileName = cms.untracked.string('validateGEMGeometry.root'),
0032                                tolerance = cms.untracked.int32(7)
0033                                )
0034 
0035 process.muonGeometryConstants.fromDD4hep = True
0036 process.gemGeometry.fromDDD = False
0037 process.gemGeometry.fromDD4hep = True
0038 
0039 process.p = cms.Path(process.valid)