CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Fireworks/Geometry/python/validateGeometry_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process('VALID')
00004 
00005 process.load('Configuration.StandardSequences.GeometryDB_cff')
00006 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
00007 from Configuration.AlCa.autoCond import autoCond
00008 process.GlobalTag.globaltag = autoCond['mc']
00009 
00010 process.source = cms.Source('EmptySource')
00011 
00012 process.maxEvents = cms.untracked.PSet(
00013     input = cms.untracked.int32(1)
00014     )
00015 #
00016 # Note: Please, download the geometry file from a location
00017 #       specified by Fireworks/Geometry/data/download.url
00018 #
00019 # For example: wget http://cmsdoc.cern.ch/cms/data/CMSSW/Fireworks/Geometry/data/v4/cmsGeom10.root
00020 #
00021 process.valid = cms.EDAnalyzer("ValidateGeometry",
00022                                infileName = cms.untracked.string('cmsGeom10.root'),
00023                                outfileName = cms.untracked.string('validateGeometry.root')
00024                                )
00025 
00026 process.p = cms.Path(process.valid)