Skip to content

Commit

Permalink
Merge pull request #33162 from ianna/dd4hep-ecal-cell-test-fix
Browse files Browse the repository at this point in the history
[DD4Hep] Make sure the test runs on dd4hep-based geometry
  • Loading branch information
cmsbuild committed Mar 15, 2021
2 parents 8da12e8 + 9aeb7c4 commit 57dc07f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Geometry/EcalAlgo/test/python/runEcalCellDumpDD4Hep_cfg.py
Expand Up @@ -3,17 +3,19 @@

process = cms.Process("EcalGeometryTest",Run3_dd4hep)

process.load("Configuration.Geometry.GeometryDD4hepExtended2021Reco_cff")
process.load('Configuration.Geometry.GeometryDD4hepExtended2021_cff')
process.load('Configuration.Geometry.GeometryDD4hepExtended2021Reco_cff')

process.source = cms.Source("EmptySource")
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(1)
)

process.CaloGeometryBuilder.SelectedCalos = ['EcalBarrel', 'EcalEndcap', 'EcalPreshower']

process.demo1 = cms.EDAnalyzer("EcalBarrelCellParameterDump")
process.demo2 = cms.EDAnalyzer("EcalEndcapCellParameterDump")
process.demo3 = cms.EDAnalyzer("EcalPreshowerCellParameterDump")

process.Timing = cms.Service("Timing")
process.SimpleMemoryCheck = cms.Service("SimpleMemoryCheck")

process.p1 = cms.Path(process.demo1 * process.demo2 * process.demo3)

0 comments on commit 57dc07f

Please sign in to comment.