Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:55:03

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DDCMSDetectorTest")
0004 
0005 process.source = cms.Source("EmptySource")
0006 process.maxEvents = cms.untracked.PSet(
0007     input = cms.untracked.int32(1)
0008     )
0009 
0010 process.DDDetectorESProducer = cms.ESSource("DDDetectorESProducer",
0011                                             confGeomXMLFiles = cms.FileInPath('Geometry/CMSCommonData/data/dd4hep/cmsExtendedGeometry2021.xml'),
0012                                             appendToDataLabel = cms.string('CMS')
0013                                             )
0014 
0015 process.DDVectorRegistryESProducer = cms.ESProducer("DDVectorRegistryESProducer",
0016                                                     appendToDataLabel = cms.string('CMS')
0017                                                     )
0018 
0019 process.test = cms.EDAnalyzer("DDCMSDetector",
0020                               DDDetector = cms.ESInputTag('','CMS')
0021                               )
0022 
0023 process.testVectors = cms.EDAnalyzer("DDTestVectors",
0024                                      DDDetector = cms.ESInputTag('','CMS')
0025                                      )
0026 
0027 process.testDump = cms.EDAnalyzer("DDTestDumpFile",
0028                                   DDDetector = cms.ESInputTag('','CMS')
0029                               )
0030 
0031 process.testGeoIter = cms.EDAnalyzer("DDTestDumpGeometry",
0032                                      DDDetector = cms.ESInputTag('','CMS')
0033                                      )
0034 
0035 process.Timing = cms.Service("Timing")
0036 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck")
0037 
0038 process.p = cms.Path(
0039     process.test
0040     +process.testVectors
0041     +process.testDump
0042     +process.testGeoIter)