Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:01:37

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('VALID')
0004 
0005 process.load('Configuration.StandardSequences.GeometryDB_cff')
0006 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0007 from Configuration.AlCa.autoCond import autoCond
0008 process.GlobalTag.globaltag = autoCond['mc']
0009 
0010 process.source = cms.Source('EmptySource')
0011 
0012 process.maxEvents = cms.untracked.PSet(
0013     input = cms.untracked.int32(1)
0014     )
0015 #
0016 # Note: Please, download the geometry file from a location
0017 #       specified by Fireworks/Geometry/data/download.url
0018 #
0019 # For example: wget http://cmsdoc.cern.ch/cms/data/CMSSW/Fireworks/Geometry/data/v4/cmsGeom10.root
0020 #
0021 process.valid = cms.EDAnalyzer("ValidateGeometry",
0022                                infileName = cms.untracked.string('cmsGeom10.root'),
0023                                outfileName = cms.untracked.string('validateGeometry.root')
0024                                )
0025 
0026 process.p = cms.Path(process.valid)