File indexing completed on 2024-04-06 12:14:27
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("DTGeometryTest")
0004
0005 process.source = cms.Source("EmptySource")
0006 process.maxEvents = cms.untracked.PSet(
0007 input = cms.untracked.int32(1)
0008 )
0009
0010 process.load('Configuration.StandardSequences.DD4hep_GeometrySim_cff')
0011 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0012 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0013 process.load("Geometry.MuonNumbering.muonGeometryConstants_cff")
0014
0015 process.MessageLogger = cms.Service("MessageLogger",
0016 cerr = cms.untracked.PSet(
0017 enable = cms.untracked.bool(False)
0018 ),
0019 cout = cms.untracked.PSet(
0020 enable = cms.untracked.bool(True),
0021 enableStatistics = cms.untracked.bool(True),
0022 noLineBreaks = cms.untracked.bool(True),
0023 threshold = cms.untracked.string('WARNING')
0024 ),
0025 files = cms.untracked.PSet(
0026 dtGeometry = cms.untracked.PSet(
0027 DEBUG = cms.untracked.PSet(
0028 limit = cms.untracked.int32(0)
0029 ),
0030 DTGeometryTest = cms.untracked.PSet(
0031 limit = cms.untracked.int32(-1)
0032 ),
0033 ERROR = cms.untracked.PSet(
0034 limit = cms.untracked.int32(0)
0035 ),
0036 Geometry = cms.untracked.PSet(
0037 limit = cms.untracked.int32(-1)
0038 ),
0039 INFO = cms.untracked.PSet(
0040 limit = cms.untracked.int32(0)
0041 ),
0042 WARNING = cms.untracked.PSet(
0043 limit = cms.untracked.int32(0)
0044 ),
0045 enableStatistics = cms.untracked.bool(True),
0046 noLineBreaks = cms.untracked.bool(True),
0047 threshold = cms.untracked.string('INFO')
0048 )
0049 )
0050 )
0051
0052 process.DTGeometryESProducer = cms.ESProducer("DTGeometryESProducer",
0053 DDDetector = cms.ESInputTag('',''),
0054 appendToDataLabel = cms.string(''),
0055 applyAlignment = cms.bool(False),
0056 alignmentsLabel = cms.string(''),
0057 attribute = cms.string('MuStructure'),
0058 value = cms.string('MuonBarrelDT'),
0059 fromDDD = cms.bool(True)
0060 )
0061
0062 process.DDCompactViewESProducer = cms.ESProducer("DDCompactViewESProducer",
0063 appendToDataLabel = cms.string('')
0064 )
0065
0066 process.DDSpecParRegistryESProducer = cms.ESProducer("DDSpecParRegistryESProducer",
0067 appendToDataLabel = cms.string('')
0068 )
0069
0070 process.muonGeometryConstants.fromDD4hep = True
0071
0072
0073 process.test = cms.EDAnalyzer("DTGeometryTest",
0074 DDDetector = cms.ESInputTag('','')
0075 )
0076
0077 process.p = cms.Path(process.test)