Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("GeometryTest")
0004 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cff")
0005 
0006 process.load("Geometry.RPCGeometry.rpcGeometry_cfi")
0007 
0008 process.load("Geometry.DTGeometry.dtGeometry_cfi")
0009 
0010 #startCSC
0011 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0012 #process.load("Geometry.MuonCommonData.muonEndcapIdealGeometryXML_cfi")
0013 # flags for modelling of CSC layer & strip geometry
0014 process.load("Geometry.CSCGeometry.cscGeometry_cfi")
0015 #process.load("Geometry.CSCGeometryBuilder.idealForDigiCscGeometry_cff")
0016 process.load("Alignment.CommonAlignmentProducer.FakeAlignmentSource_cfi")
0017 #process.preferFakeAlign = cms.ESPrefer("FakeAlignmentSource", "FakeAlignmentSource")
0018 process.fake2 = process.FakeAlignmentSource
0019 del process.FakeAlignmentSource
0020 process.preferFakeAlign = cms.ESPrefer("FakeAlignmentSource", "fake2")
0021 process.load("Geometry.CSCGeometry.cscGeometry_cfi")
0022 #end CSC
0023 
0024 process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi")
0025 
0026 process.load("Geometry.TrackerGeometryBuilder.trackerGeometry_cfi")
0027 
0028 #process.load("MagneticField.Engine.volumeBasedMagneticField_cfi")
0029 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0030 
0031 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0032 
0033 process.maxEvents = cms.untracked.PSet(
0034         input = cms.untracked.int32(1)
0035         )
0036 process.source = cms.Source("EmptySource")
0037 
0038 process.prpc = cms.EDAnalyzer("RPCGeometryAnalyzer")
0039 
0040 process.pdt = cms.EDAnalyzer("DTGeometryAnalyzer")
0041 
0042 process.pcsc = cms.EDAnalyzer("CSCGeometryAnalyzer")
0043 
0044 process.ptrak = cms.EDAnalyzer("TrackerDigiGeometryAnalyzer")
0045 
0046 #process.pcalo = cms.EDAnalyzer("CaloGeometryAnalyzer")
0047 process.load("Geometry.CaloEventSetup.CaloGeometry_cff")
0048 process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
0049 process.etta = cms.EDAnalyzer("dumpEcalTrigTowerMapping")
0050 
0051 process.ctgw = cms.EDAnalyzer("testEcalGetWindow")
0052 
0053 process.cga = cms.EDAnalyzer("CaloGeometryAnalyzer",
0054                                  fullEcalDump = cms.untracked.bool(True)
0055                              )
0056 process.load("Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi")
0057 
0058 
0059 process.ctgw = cms.EDAnalyzer("testEcalGetWindow")
0060 process.mfa = cms.EDAnalyzer("testMagneticField")
0061 
0062 process.TFileService = cms.Service("TFileService", fileName = cms.string('calogeom.root') )
0063 
0064 process.cga = cms.EDAnalyzer("CaloGeometryAnalyzer",
0065                                  fullEcalDump = cms.untracked.bool(True)
0066                              )
0067 
0068 process.myprint = cms.OutputModule("AsciiOutputModule")
0069 
0070 process.MessageLogger = cms.Service("MessageLogger",
0071                                         detailedInfo = cms.untracked.PSet(
0072             threshold = cms.untracked.string('DEBUG')
0073                 ),
0074                                         warning = cms.untracked.PSet(
0075             threshold = cms.untracked.string('WARNING')
0076                 ),
0077                                         debugModules = cms.untracked.vstring('*'),
0078                                         critical = cms.untracked.PSet(
0079             threshold = cms.untracked.string('ERROR')
0080                 ),
0081                                         destinations = cms.untracked.vstring('detailedInfo',
0082                                                                                      'critical',
0083                                                                                      'info',
0084                                                                                      'warning')
0085                                     )
0086 
0087 process.p1 = cms.Path(process.pcsc*process.prpc*process.pdt*process.ptrak*process.etta*process.ctgw*process.cga*process.mfa) #*process.pcalo)
0088 process.ep = cms.EndPath(process.myprint)