Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:07:53

0001 # Configuration file to run CSCGeometryAsLayers
0002 # printing table of layer information.
0003 # Tim Cox 18.05.2009
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("GeometryAsLayers")
0008 
0009 # Endcap Muon geometry
0010 # ====================
0011 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0012 process.load("Geometry.MuonCommonData.muonEndcapIdealGeometryXML_cfi")
0013 
0014 # Fake alignment is/should be ideal geometry
0015 # ==========================================
0016 process.load("Alignment.CommonAlignmentProducer.FakeAlignmentSource_cfi")
0017 process.fake2 = process.FakeAlignmentSource
0018 del process.FakeAlignmentSource
0019 process.preferFakeAlign = cms.ESPrefer("FakeAlignmentSource", "fake2")
0020 
0021 
0022 # flags for modelling of CSC layer & strip geometry
0023 # =================================================
0024 process.load("Geometry.CSCGeometryBuilder.cscGeometry_cfi")
0025 
0026 process.source = cms.Source("EmptySource")
0027 
0028 process.maxEvents = cms.untracked.PSet(
0029     input = cms.untracked.int32(1)
0030 )
0031 
0032 # I used to append CSCGeometryESModule but this fails to activate any debug output in 310p7 on 18.05.2009.
0033 # Must use *
0034 
0035 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0036 process.MessageLogger.debugModules.append('*')
0037 process.MessageLogger.cout = cms.untracked.PSet(
0038    threshold = cms.untracked.string('DEBUG'),
0039    default = cms.untracked.PSet( limit = cms.untracked.int32(0) ),
0040    CSCLayerGeometry = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0041    CSCGeometry = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0042    CSCGeometryBuilder = cms.untracked.PSet( limit = cms.untracked.int32(-1) )
0043 )
0044 
0045 process.producer = cms.EDAnalyzer("CSCGeometryAsLayers")
0046 
0047 process.p1 = cms.Path(process.producer)
0048