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_GeometrySimPhase2_cff')
0012 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0013 process.load("Geometry.MuonNumbering.muonGeometryConstants_cff")
0014 process.load("Geometry.GEMGeometryBuilder.me0Geometry_cff")
0015 
0016 process.test = cms.EDAnalyzer("DDTestMuonNumbering")
0017 
0018 #
0019 # Note: Please, download the geometry file from a location
0020 #       specified by Fireworks/Geometry/data/download.url
0021 #
0022 # For example: cmsRun $CMSSW_RELEASE_BASE/src/Fireworks/Geometry/python/dumpRecoGeometry_cfg.py tag=2026 version=D41
0023 #
0024 process.valid = cms.EDAnalyzer("ME0GeometryValidate",
0025                                infileName = cms.untracked.string('cmsRecoGeom-2026.root'),
0026                                outfileName = cms.untracked.string('validateME0GeometryDD4hep.root'),
0027                                tolerance = cms.untracked.int32(7)
0028                                )
0029 
0030 process.muonGeometryConstants.fromDD4hep = True
0031 process.me0Geometry.fromDDD = False
0032 process.me0Geometry.fromDD4hep = True
0033 
0034 process.p = cms.Path(process.valid)