Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:05:29

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DDSpecParsTest")
0004 
0005 process.source = cms.Source("EmptySource")
0006 process.maxEvents = cms.untracked.PSet(
0007     input = cms.untracked.int32(1)
0008     )
0009 
0010 process.MessageLogger = cms.Service("MessageLogger",
0011     cerr = cms.untracked.PSet(
0012         enable = cms.untracked.bool(False)
0013     ),
0014     cout = cms.untracked.PSet(
0015         enable = cms.untracked.bool(True),
0016         enableStatistics = cms.untracked.bool(True),
0017         noLineBreaks = cms.untracked.bool(True),
0018         threshold = cms.untracked.string('WARNING')
0019     ),
0020     files = cms.untracked.PSet(
0021         specpar = cms.untracked.PSet(
0022             DEBUG = cms.untracked.PSet(
0023                 limit = cms.untracked.int32(0)
0024             ),
0025             ERROR = cms.untracked.PSet(
0026                 limit = cms.untracked.int32(0)
0027             ),
0028             Geometry = cms.untracked.PSet(
0029                 limit = cms.untracked.int32(-1)
0030             ),
0031             INFO = cms.untracked.PSet(
0032                 limit = cms.untracked.int32(0)
0033             ),
0034             WARNING = cms.untracked.PSet(
0035                 limit = cms.untracked.int32(0)
0036             ),
0037             enableStatistics = cms.untracked.bool(True),
0038             noLineBreaks = cms.untracked.bool(True),
0039             threshold = cms.untracked.string('INFO')
0040         )
0041     )
0042 )
0043 
0044 process.DDDetectorESProducer = cms.ESSource("DDDetectorESProducer",
0045                                             confGeomXMLFiles = cms.FileInPath('Geometry/CMSCommonData/data/dd4hep/cmsExtendedGeometry2021.xml'),
0046                                             appendToDataLabel = cms.string('CMS')
0047                                             )
0048 
0049 process.DDSpecParRegistryESProducer = cms.ESProducer("DDSpecParRegistryESProducer",
0050                                                      appendToDataLabel = cms.string('CMS')
0051                                                      )
0052 
0053 process.test = cms.EDAnalyzer("DDTestSpecPars",
0054                               DDDetector = cms.ESInputTag('','CMS')
0055                               )
0056 
0057 process.p = cms.Path(process.test)