Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:07:54

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.Eras.Era_Run3_dd4hep_cff import Run3_dd4hep
0003 
0004 process = cms.Process('VALID',Run3_dd4hep)
0005 
0006 process.source = cms.Source('EmptySource')
0007 
0008 process.maxEvents = cms.untracked.PSet(
0009     input = cms.untracked.int32(1)
0010     )
0011 
0012 process.load('Configuration.StandardSequences.DD4hep_GeometrySim_cff')
0013 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0014 process.load("Geometry.MuonNumbering.muonGeometryConstants_cff")
0015 process.load("Geometry.CSCGeometryBuilder.cscGeometry_cfi")
0016 
0017 process.MessageLogger = cms.Service("MessageLogger",
0018                                 destinations = cms.untracked.vstring('myLog'),
0019                                 myLog = cms.untracked.PSet(
0020                                 threshold = cms.untracked.string('INFO'),
0021                                 )
0022                             )
0023 
0024 process.CSCGeometryESModule.applyAlignment = False
0025 
0026 #
0027 # Note: Please, download the geometry file from a location
0028 #       specified by Fireworks/Geometry/data/download.url
0029 #
0030 # For example: wget http://cmsdoc.cern.ch/cms/data/CMSSW/Fireworks/Geometry/data/v4/cmsGeom10.root
0031 #
0032 process.valid = cms.EDAnalyzer("CSCGeometryValidate",
0033                                infileName = cms.untracked.string('cmsRecoGeom-2021.root'),
0034                                outfileName = cms.untracked.string('validateCSCGeometryDD4HEP.root'),
0035                                tolerance = cms.untracked.int32(7)
0036                                )
0037 
0038 process.p = cms.Path(process.valid)