Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-14 22:36:07

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("Geometry.TrackerGeometryBuilder.TrackerAdditionalParametersPerDet_cfi")
0019 
0020 process.load("Alignment.CommonAlignmentProducer.FakeAlignmentSource_cfi")
0021 process.preferFakeAlign = cms.ESPrefer("FakeAlignmentSource") 
0022 
0023 process.source = cms.Source("EmptySource")
0024 
0025 process.maxEvents = cms.untracked.PSet(
0026     input = cms.untracked.int32(1)
0027 )
0028 process.out = cms.OutputModule("AsciiOutputModule")
0029 
0030 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0031 process.MessageLogger.debugModules.append('*')
0032 process.MessageLogger.cout = cms.untracked.PSet(
0033         threshold = cms.untracked.string('DEBUG'),
0034             default = cms.untracked.PSet( limit = cms.untracked.int32(0) ),
0035             TrackerNumberingBuilder = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0036             TrackerGeometryBuilder = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0037             ModuleInfo = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0038             )
0039 
0040 process.prod = cms.EDAnalyzer("ModuleInfo",
0041     fromDDD = cms.bool(False),
0042     printDDD = cms.untracked.bool(False),
0043     tolerance = cms.untracked.double(1.0e-23)
0044 )
0045 
0046 process.p1 = cms.Path(process.prod)
0047 process.ep = cms.EndPath(process.out)
0048 
0049