Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:50:11

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Run3_dd4hep_cff import Run3_dd4hep
0004 
0005 process = cms.Process("GeometryTest", Run3_dd4hep)
0006 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0007 
0008 # Choose Tracker Geometry
0009 process.load('Configuration.Geometry.GeometryDD4hepExtended2021Reco_cff')
0010 
0011 process.TrackerGeometricDetESModule = cms.ESProducer( "TrackerGeometricDetESModule",
0012                                                       fromDDD = cms.bool( False ),
0013                                                       fromDD4hep = cms.bool( True )
0014                                                      )
0015 
0016 process.es_prefer_geomdet = cms.ESPrefer("TrackerGeometricDetESModule","")
0017 
0018 process.load("Alignment.CommonAlignmentProducer.FakeAlignmentSource_cfi")
0019 process.preferFakeAlign = cms.ESPrefer("FakeAlignmentSource") 
0020 
0021 process.source = cms.Source("EmptySource")
0022 
0023 process.maxEvents = cms.untracked.PSet(
0024     input = cms.untracked.int32(1)
0025 )
0026 process.out = cms.OutputModule("AsciiOutputModule")
0027 
0028 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0029 process.MessageLogger.debugModules.append('*')
0030 process.MessageLogger.cout = cms.untracked.PSet(
0031         threshold = cms.untracked.string('DEBUG'),
0032             default = cms.untracked.PSet( limit = cms.untracked.int32(0) ),
0033             TrackerNumberingBuilder = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0034             TrackerGeometryBuilder = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0035             ModuleInfo = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0036             )
0037 
0038 process.prod = cms.EDAnalyzer("ModuleInfo",
0039     fromDDD = cms.bool(False),
0040     printDDD = cms.untracked.bool(False),
0041     tolerance = cms.untracked.double(1.0e-23)
0042 )
0043 
0044 process.p1 = cms.Path(process.prod)
0045 process.ep = cms.EndPath(process.out)
0046 
0047