Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:49:01

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Run3_dd4hep_cff import Run3_dd4hep
0004 
0005 process = cms.Process("GeometryTest", Run3_dd4hep)
0006 
0007 
0008 process.load('Configuration.Geometry.GeometryDD4hepExtended2021Reco_cff')
0009 
0010 process.load('FWCore.MessageLogger.MessageLogger_cfi')
0011 if 'MessageLogger' in process.__dict__:
0012     process.MessageLogger.CaloGeom=dict()
0013 
0014 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(4) )
0015 
0016 process.source = cms.Source("EmptySource")
0017 
0018 process.etta = cms.EDAnalyzer("DumpEcalTrigTowerMapping")
0019 
0020 process.ctgw = cms.EDAnalyzer("TestEcalGetWindow")
0021 
0022 process.cga = cms.EDAnalyzer("CaloGeometryAnalyzer",
0023                              fullEcalDump = cms.untracked.bool(True)
0024                              )
0025 
0026 process.mfa = cms.EDAnalyzer("testMagneticField")
0027 
0028 process.Timing = cms.Service("Timing")
0029 
0030 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck")
0031 
0032 process.TFileService = cms.Service("TFileService",
0033                                    fileName = cms.string('calogeom.root')
0034                                    )
0035 
0036 # process.p1 = cms.Path(process.etta*process.ctgw*process.cga*process.mfa)
0037 process.p1 = cms.Path(process.etta*process.ctgw*process.cga)
0038 # FIXME Restore magnetic field test. Code has to be added to read field record
0039 
0040