Skip to content

Commit 7530dfd

Browse files
authored
Merge pull request #41116 from mmusich/postPhase2AlignmentFollowUp
Fix several unit test post-merge of #41075
2 parents 9d9b54f + 9ba4905 commit 7530dfd

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Alignment/OfflineValidation/test/testPrimaryVertexRelatedValidations_cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class RefitType(Enum):
118118
####################################################################
119119
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
120120
from Configuration.AlCa.GlobalTag import GlobalTag
121-
process.GlobalTag = GlobalTag(process.GlobalTag, ('auto:phase2_realistic' if options.isPhase2 else 'auto:phase1_2022_realistic'), '')
121+
process.GlobalTag = GlobalTag(process.GlobalTag, ('auto:phase2_realistic_T21' if options.isPhase2 else 'auto:phase1_2022_realistic'), '')
122122

123123
if _allFromGT:
124124
print("############ testPVValidation_cfg.py: msg%-i: All is taken from GT")

CondTools/SiPixel/test/SiPixel2DTemplateDBObjectUploader_Phase2_cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
opts.VarParsing.varType.string,
4747
'Location of template files')
4848
options.register('GlobalTag',
49-
'auto:phase2_realistic',
49+
'auto:phase2_realistic_T21', # as needed by the unit test
5050
opts.VarParsing.multiplicity.singleton,
5151
opts.VarParsing.varType.string,
5252
'Global tag for this run')

CondTools/SiPixel/test/SiPixelTemplateDBObjectUploader_Phase2_cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
opts.VarParsing.varType.string,
4747
'Location of template files')
4848
options.register('GlobalTag',
49-
'auto:phase2_realistic',
49+
'auto:phase2_realistic',
5050
opts.VarParsing.multiplicity.singleton,
5151
opts.VarParsing.varType.string,
5252
'Global tag for this run')

RecoTracker/MkFit/test/dumpMkFitGeometryPhase2.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@
1414
process.load('Configuration.StandardSequences.MagneticField_cff')
1515
process.load('Configuration.StandardSequences.Reconstruction_cff')
1616
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
17-
18-
from Configuration.AlCa.autoCond import autoCond
19-
process.GlobalTag.globaltag = autoCond['phase2_realistic']
17+
from Configuration.AlCa.GlobalTag import GlobalTag
18+
process.GlobalTag = GlobalTag(process.GlobalTag, "auto:phase2_realistic_T21", '')
2019

2120
process.MessageLogger.cerr.threshold = "INFO"
2221
process.MessageLogger.cerr.MkFitGeometryESProducer = dict(limit=-1)

SimTracker/TrackerMaterialAnalysis/test/listIds_PhaseII.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:phase2_realistic_T21', '')
2424
else:
2525
process.load('Configuration.Geometry.GeometryExtended2026D92Reco_cff')
26+
process.trackerGeometry.applyAlignment = False # needed to avoid to pass the Global Position Record
2627

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

0 commit comments

Comments
 (0)