Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:08:11

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 
0012 process.load('Configuration.Geometry.GeometryExtended2021_cff')
0013 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0014 process.load("Geometry.MuonNumbering.muonGeometryConstants_cff")
0015 process.load("Geometry.GEMGeometryBuilder.gemGeometry_cff")
0016 
0017 if 'MessageLogger' in process.__dict__:
0018     process.MessageLogger.Geometry=dict()
0019     process.MessageLogger.GEMNumberingScheme=dict()
0020 
0021 #
0022 # Note: Please, download the geometry file from a location
0023 #       specified by Fireworks/Geometry/data/download.url
0024 #
0025 # For example: wget http://cmsdoc.cern.ch/cms/data/CMSSW/Fireworks/Geometry/data/v4/cmsGeom10.root
0026 #
0027 process.valid = cms.EDAnalyzer("GEMGeometryValidate",
0028                                infileName = cms.untracked.string('cmsRecoGeom-2021.root'),
0029                                outfileName = cms.untracked.string('validateGEMGeometry2.root'),
0030                                tolerance = cms.untracked.int32(7)
0031                                )
0032 
0033 process.p = cms.Path(process.valid)