Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:14:15

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 = cms.Process("GeometryTest")
0009 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0010 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0011 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0012 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0013 from Configuration.AlCa.GlobalTag import GlobalTag
0014 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:upgrade2021', '')
0015 
0016 process.source = cms.Source("EmptySource")
0017 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(4) )
0018 
0019 if 'MessageLogger' in process.__dict__:
0020     process.MessageLogger.CaloGeom=dict()
0021 
0022 process.etta = cms.EDAnalyzer("DumpEcalTrigTowerMapping")
0023 
0024 process.ctgw = cms.EDAnalyzer("TestEcalGetWindow")
0025 
0026 process.cga = cms.EDAnalyzer("CaloGeometryAnalyzer",
0027                              fullEcalDump = cms.untracked.bool(True)
0028                              )
0029 
0030 process.mfa = cms.EDAnalyzer("testMagneticField")
0031 
0032 process.Timing = cms.Service("Timing")
0033 
0034 process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck")
0035 
0036 process.TFileService = cms.Service("TFileService",
0037                                    fileName = cms.string('calogeom.root')
0038                                    )
0039 
0040 # process.p1 = cms.Path(process.etta*process.ctgw*process.cga*process.mfa)
0041 process.p1 = cms.Path(process.etta*process.ctgw*process.cga)
0042 # FIXME Restore magnetic field test. Code has to be added to read field record
0043