Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-06-24 02:10:51

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DDCMSDetectorTest")
0004 
0005 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0006 from Configuration.AlCa.autoCond import autoCond
0007 process.GlobalTag.globaltag = autoCond['upgrade2021']
0008 
0009 process.source = cms.Source("EmptySource")
0010 process.maxEvents = cms.untracked.PSet(
0011     input = cms.untracked.int32(1)
0012     )
0013 
0014 process.DDDetectorESProducer = cms.ESSource("DDDetectorESProducer",
0015                                             rootDDName = cms.string('cms:OCMS'),
0016                                             label = cms.string('Extended'),
0017                                             fromDB = cms.bool(True),
0018                                             appendToDataLabel = cms.string('CMS')
0019 )
0020 
0021 process.DDVectorRegistryESProducer = cms.ESProducer("DDVectorRegistryESProducer",
0022                                                     appendToDataLabel = cms.string('CMS')
0023                                                     )
0024 
0025 process.test = cms.EDAnalyzer("DDCMSDetector",
0026                               DDDetector = cms.ESInputTag('','CMS')
0027                               )
0028 
0029 process.testVectors = cms.EDAnalyzer("DDTestVectors",
0030                                      DDDetector = cms.ESInputTag('','CMS')
0031                                      )
0032 
0033 process.testDump = cms.EDAnalyzer("DDTestDumpFile",
0034                                   DDDetector = cms.ESInputTag('','CMS')
0035                               )
0036 
0037 process.testGeoIter = cms.EDAnalyzer("DDTestDumpGeometry",
0038                                      DDDetector = cms.ESInputTag('','CMS')
0039                                      )
0040 
0041 process.p = cms.Path(
0042     process.test
0043     +process.testVectors
0044     +process.testDump
0045     +process.testGeoIter)