Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # Configuration file to run CSCLayerGeometryInside
0002 # 
0003 # Tim Cox 06.05.2009
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 # root output file
0033 # ================
0034 process.TFileService = cms.Service("TFileService", 
0035       fileName = cms.string("clgi.root"),
0036       closeFileFast = cms.untracked.bool(True)
0037 )
0038 
0039 # Configure the actual EDAnalyzer
0040 # ===============================
0041 process.analyze = cms.EDAnalyzer(
0042     "CSCLayerGeometryInside",
0043     ntries = cms.untracked.int32(200000),
0044     nbx = cms.untracked.int32(400),
0045     nby = cms.untracked.int32(800),
0046     xlo = cms.untracked.double(-50.),
0047     xhi = cms.untracked.double(50.),
0048     ylo = cms.untracked.double(-100.),
0049     yhi = cms.untracked.double(100.)
0050 )
0051 
0052 # Message Logger - default is all my debug messages off
0053 # ==============
0054 # Note that this has no effect on errors from DDD - they come even if this is removed!
0055 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0056 process.MessageLogger.debugModules.append('CSCGeometryESModule')
0057 process.MessageLogger.cout = cms.untracked.PSet(
0058    threshold = cms.untracked.string('DEBUG'),
0059    default = cms.untracked.PSet( limit = cms.untracked.int32(0) ),
0060    CSCGeometry = cms.untracked.PSet( limit = cms.untracked.int32(0) ),
0061    CSCGeometryBuilder = cms.untracked.PSet( limit = cms.untracked.int32(0) )
0062 )
0063 
0064 process.p1 = cms.Path(process.analyze)
0065