Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-04-12 07:44:23

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DUMP")
0004 
0005 process.load('FWCore.MessageService.MessageLogger_cfi')
0006 process.source = cms.Source("EmptySource")
0007 process.maxEvents = cms.untracked.PSet(
0008     input = cms.untracked.int32(1)
0009 )
0010 
0011 process.MessageLogger.cerr.FwkReport.reportEvery = 5
0012 #if 'MessageLogger' in process.__dict__:
0013 #   process.MessageLogger.PixelGeom=dict()
0014 #   process.MessageLogger.TIBGeom=dict()
0015 #   process.MessageLogger.TIDGeom=dict()
0016 #   process.MessageLogger.TOBGeom=dict()
0017 #   process.MessageLogger.TECGeom=dict()
0018 #   process.MessageLogger.TGeoMgrFromDdd=dict()
0019 
0020 process.DDDetectorESProducer = cms.ESSource("DDDetectorESProducer",
0021                                             confGeomXMLFiles = cms.FileInPath('Geometry/HcalCommonData/data/cmsExtendedGeometry2017.xml'),
0022                                             appendToDataLabel = cms.string('cms2017')
0023                                             )
0024 
0025 process.testDump = cms.EDAnalyzer("DDTestDumpFile",
0026                                   outputFileName = cms.untracked.string('cms2017DD4hep.root'),
0027                                   DDDetector = cms.ESInputTag('','cms2017')
0028                                   )
0029 
0030 process.p = cms.Path(process.testDump)