Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-14 22:35:53

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Run3_dd4hep_cff import Run3_dd4hep
0004 
0005 process = cms.Process("DDCMSDetectorTest", Run3_dd4hep)
0006 
0007 process.source = cms.Source("EmptySource")
0008 process.maxEvents = cms.untracked.PSet(
0009     input = cms.untracked.int32(1)
0010     )
0011 
0012 process.MessageLogger = cms.Service("MessageLogger",
0013     cerr = cms.untracked.PSet(
0014         enable = cms.untracked.bool(False)
0015     ),
0016     cout = cms.untracked.PSet(
0017         enable = cms.untracked.bool(True),
0018         enableStatistics = cms.untracked.bool(False),
0019         noLineBreaks = cms.untracked.bool(True),
0020         threshold = cms.untracked.string('WARNING')
0021     ),
0022     files = cms.untracked.PSet(
0023         navGeometry = cms.untracked.PSet(
0024             DEBUG = cms.untracked.PSet(
0025                 limit = cms.untracked.int32(0)
0026             ),
0027             ERROR = cms.untracked.PSet(
0028                 limit = cms.untracked.int32(0)
0029             ),
0030             DumpGeometry = cms.untracked.PSet(
0031                 limit = cms.untracked.int32(-1)
0032             ),
0033             INFO = cms.untracked.PSet(
0034                 limit = cms.untracked.int32(0)
0035             ),
0036             WARNING = cms.untracked.PSet(
0037                 limit = cms.untracked.int32(0)
0038             ),
0039             enableStatistics = cms.untracked.bool(False),
0040             noLineBreaks = cms.untracked.bool(True),
0041             threshold = cms.untracked.string('INFO')
0042         )
0043     )
0044 )
0045 
0046 process.load("Configuration.StandardSequences.GeometryDB_cff")
0047 process.load('CondCore.CondDB.CondDB_cfi')
0048 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0049 from Configuration.AlCa.autoCond import autoCond
0050 process.GlobalTag.globaltag = autoCond['upgrade2021']
0051 
0052 process.DDDetectorESProducer = cms.ESSource("DDDetectorESProducer",
0053                                             rootDDName = cms.string('cms:OCMS'),
0054                                             label = cms.string('Extended'),
0055                                             fromDB = cms.bool(True),
0056                                             appendToDataLabel = cms.string('CMS')
0057 )
0058 
0059 process.test = cms.EDAnalyzer("DDTestDumpGeometry",
0060                               DDDetector = cms.ESInputTag('','CMS')
0061                               )
0062 
0063 process.p = cms.Path(process.test)