Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # Configuration file to run CSCGeometryOfWires
0002 # I hope this builds geometry from xml
0003 # Tim Cox 18.10.2012
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("CSCGeometryTest")
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.CSCGeometry.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 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0033 process.MessageLogger.debugModules.append('CSCGeometryESModule')
0034 process.MessageLogger.cout = cms.untracked.PSet(
0035    threshold = cms.untracked.string('DEBUG'),
0036    default = cms.untracked.PSet( limit = cms.untracked.int32(0) ),
0037    CSCGeometry = cms.untracked.PSet( limit = cms.untracked.int32(-1) ),
0038    CSCGeometryBuilder = cms.untracked.PSet( limit = cms.untracked.int32(-1) )
0039 )
0040 
0041 # Executable
0042 # ==========
0043 process.producer = cms.EDAnalyzer("CSCGeometryOfWires")
0044 
0045 process.p1 = cms.Path(process.producer)