Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-04-26 22:29:32

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DUMP")
0004 
0005 process.load("Geometry.TrackerCommonData.pixfwdGeometryXML_cfi")
0006 process.load('FWCore.MessageService.MessageLogger_cfi')
0007 
0008 if 'MessageLogger' in process.__dict__:
0009     process.MessageLogger.PixelGeom=dict()
0010     process.MessageLogger.TGeoMgrFromDdd=dict()
0011 
0012 process.source = cms.Source("EmptySource")
0013 
0014 process.maxEvents = cms.untracked.PSet(
0015     input = cms.untracked.int32(1)
0016 )
0017 
0018 process.add_(cms.ESProducer("TGeoMgrFromDdd",
0019         verbose = cms.untracked.bool(False),
0020         level   = cms.untracked.int32(14)
0021 ))
0022 
0023 
0024 process.dump = cms.EDAnalyzer("DumpSimGeometry",
0025                               outputFileName = cms.untracked.string('pixfwd0.root')
0026 )
0027 
0028 process.p = cms.Path(process.dump)