Skip to content

Commit

Permalink
fix failing unit tests after #38702
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Sep 29, 2022
1 parent d46ee62 commit 66b7bb5
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
process.load("Configuration.StandardSequences.Services_cff")

if 'phase2' in options.globalTag:
process.load("Configuration.Geometry.GeometryExtended2026D49_cff")
process.load("Configuration.Geometry.GeometryExtended2026D49Reco_cff")
process.load("Configuration.Geometry.GeometryExtended2026D92_cff")
process.load("Configuration.Geometry.GeometryExtended2026D92Reco_cff")
else:
process.load("Configuration.StandardSequences.GeometryRecoDB_cff")

Expand Down
2 changes: 1 addition & 1 deletion Geometry/TrackerGeometryBuilder/test/runTest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ do
done

cmsRun ${LOCAL_TEST_DIR}/python/testPixelTopologyMapTest_cfg.py runNumber=300000 || die "Failure using cmsRun testPixelTopologyMapTest_cfg.py runNumber=300000" $?
cmsRun ${LOCAL_TEST_DIR}/python/testPixelTopologyMapTest_cfg.py globalTag=auto:phase2_realistic_T15 || die "Failure using cmsRun testPixelTopologyMapTest_cfg.py globalTag=auto:phase2_realistic_T15" $?
cmsRun ${LOCAL_TEST_DIR}/python/testPixelTopologyMapTest_cfg.py globalTag=auto:phase2_realistic_T21 || die "Failure using cmsRun testPixelTopologyMapTest_cfg.py globalTag=auto:phase2_realistic_T21" $?

FILE1=trackerParametersDD4hep.log
FILE2=trackerParametersDDD.log
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import FWCore.ParameterSet.Config as cms


from Configuration.Eras.Era_Phase2C9_cff import Phase2C9
process = cms.Process('USER',Phase2C9)
from Configuration.Eras.Era_Phase2C17I13M9_cff import Phase2C17I13M9
process = cms.Process('USER',Phase2C17I13M9)

# import of standard configurations
process.load('Configuration.StandardSequences.Services_cff')
Expand All @@ -11,7 +11,7 @@
process.load('Configuration.EventContent.EventContent_cff')
process.load('SimGeneral.MixingModule.mixNoPU_cfi')
#process.load('SimGeneral.MixingModule.mix_POISSON_average_cfi')
process.load('Configuration.Geometry.GeometryExtended2026D49Reco_cff')
process.load('Configuration.Geometry.GeometryExtended2026D88Reco_cff')
process.load('Configuration.StandardSequences.MagneticField_cff')
process.load('Configuration.StandardSequences.Digi_cff')
process.load('Configuration.StandardSequences.SimL1Emulator_cff')
Expand All @@ -29,7 +29,7 @@

process.source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring(
'/store/relval/CMSSW_11_2_0_pre1/RelValSingleMuPt10/GEN-SIM/110X_mcRun4_realistic_v3_2026D49noPU-v1/10000/743B02CC-F5B9-5642-A7EF-EE222E18C54F.root'
'/store/relval/CMSSW_12_3_0_pre6/RelValSingleMuPt10/GEN-SIM/123X_mcRun4_realistic_v8_2026D88noPU-v1/10000/a7e6521e-e026-447b-8bf9-38a09e97916f.root'
)
)

Expand Down Expand Up @@ -95,7 +95,7 @@
# They need pixel RecHits where the charge is stored with high-granularity and large dinamic range

from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T15', '')
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T21', '')

# Path and EndPath definitions
process.digitisation_step = cms.Path(process.pdigi_valid)
Expand Down
4 changes: 2 additions & 2 deletions SLHCUpgradeSimulations/Geometry/test/writeFile_phase2_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

process = cms.Process("ICALIB")
process.load("Configuration.StandardSequences.Services_cff")
process.load('Configuration.Geometry.GeometryExtended2026D49Reco_cff')
process.load('Configuration.Geometry.GeometryExtended2026D92Reco_cff')

process.trackerGeometry.applyAlignment = cms.bool(False)

process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T15', '')
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T21', '')

process.source = cms.Source("EmptyIOVSource",
firstValue = cms.uint64(1),
Expand Down
4 changes: 2 additions & 2 deletions SimTracker/TrackerMaterialAnalysis/test/listIds_PhaseII.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
if options.fromDB :
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T21', '')
else:
process.load('Configuration.Geometry.GeometryExtended2026D49Reco_cff')
process.load('Configuration.Geometry.GeometryExtended2026D92Reco_cff')

process.load('FWCore.MessageService.MessageLogger_cfi')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
if options.fromDB :
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T21', '')
else:
process.load('Configuration.Geometry.GeometryExtended2026D49Reco_cff')
process.load('Configuration.Geometry.GeometryExtended2026D92Reco_cff')

process.load('FWCore.MessageService.MessageLogger_cfi')
process.MessageLogger.files.LogTrackingMaterialAnalysis = dict()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
if options.fromDB :
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic', '')
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T21', '')
else:
process.load('Configuration.Geometry.GeometryExtended2026D49Reco_cff')
process.load('Configuration.Geometry.GeometryExtended2026D92Reco_cff')

process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(options.nEvents)
Expand Down

0 comments on commit 66b7bb5

Please sign in to comment.