Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:14:27

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DTGeometryTest")
0004 process.add_(cms.Service("InitRootHandlers", ResetRootErrHandler = cms.untracked.bool(False)))
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         dumpGeometry = 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('MUON')
0047                                             )
0048 
0049 process.DTGeometryESProducer = cms.ESProducer("DTGeometryESProducer",
0050                                               DDDetector = cms.ESInputTag('','MUON'),
0051                                               appendToDataLabel = cms.string(''),
0052                                               applyAlignment = cms.bool(False),
0053                                               alignmentsLabel = cms.string(''),
0054                                               attribute = cms.string('MuStructure'),
0055                                               value = cms.string('MuonBarrelDT'),
0056                                               fromDDD = cms.bool(True)
0057                                               )
0058 
0059 process.DDSpecParRegistryESProducer = cms.ESProducer("DDSpecParRegistryESProducer",
0060                                                      appendToDataLabel = cms.string('MUON')
0061                                                      )
0062 
0063 process.MuonNumberingESProducer = cms.ESProducer("MuonNumberingESProducer",
0064                                                  label = cms.string('MUON'),
0065                                                  key = cms.string('MuonCommonNumbering')
0066                                                  )
0067 
0068 process.test = cms.EDAnalyzer("DTGeometryTest",
0069                               DDDetector = cms.ESInputTag('','MUON')
0070                               )
0071 
0072 process.dump = cms.EDAnalyzer("DDTestDumpGeometry",
0073                               DDDetector = cms.ESInputTag('','MUON')
0074                               )
0075 
0076 process.p = cms.Path(process.test+process.dump)