Skip to content

Commit

Permalink
Merge pull request #14302 from ianna/calo-tests-fix
Browse files Browse the repository at this point in the history
Use Correct HcalTopology Record
  • Loading branch information
davidlange6 committed Apr 29, 2016
2 parents d702493 + 880bd39 commit 847e1f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Geometry/CaloEventSetup/test/CaloGeometryAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ CaloGeometryAnalyzer::analyze( const edm::Event& /*iEvent*/, const edm::EventSet
edm::ESHandle<CaloGeometry> pG;
iSetup.get<CaloGeometryRecord>().get(pG);
edm::ESHandle<HcalTopology> pT;
iSetup.get<IdealGeometryRecord>().get(pT);
iSetup.get<HcalRecNumberingRecord>().get(pT);

const std::vector<DetId> allDetId ( pG->getValidDetIds() ) ;

Expand Down
6 changes: 3 additions & 3 deletions Geometry/CaloEventSetup/test/runTestCaloGeometryDDD_cfg.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import FWCore.ParameterSet.Config as cms

process = cms.Process("GeometryTest")
process.load("Configuration.StandardSequences.MagneticField_38T_cff")
process.load("Configuration.Geometry.GeometryExtended_cff")

process.load('Configuration.Geometry.GeometryExtended_cff')
process.load('Configuration.Geometry.GeometryExtendedReco_cff')
process.load("FWCore.MessageLogger.MessageLogger_cfi")
process.load('FWCore.MessageLogger.MessageLogger_cfi')

process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(4) )

Expand Down

0 comments on commit 847e1f7

Please sign in to comment.