Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-10 10:02:58

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