Skip to content

Commit f2b1220

Browse files
authored
Merge pull request #47453 from bsunanda/Run3-gex187H
Run3-gex187H Modify some of the overlap scripts to test overlaps in the new muon scenarios
2 parents 03d4061 + 08656c9 commit f2b1220

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

Geometry/MuonCommonData/test/python/g4OverlapCheck2021_cfg.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Way to use this:
33
# cmsRun g4OverlapCheck2021_cfg.py geometry=2021 tol=0.1
44
#
5-
# Options for geometry 2021, 2023, 2024, 2025
5+
# Options for geometry 2018, 2021, 2023, 2024, 2025
66
# for tol 0.01, 0.1, 1.0
77
#
88
###############################################################################
@@ -17,7 +17,7 @@
1717
"2021",
1818
VarParsing.VarParsing.multiplicity.singleton,
1919
VarParsing.VarParsing.varType.string,
20-
"geometry of operations: 2021, 2023, 2024, 2025")
20+
"geometry of operations: 2018, 2021, 2023, 2024, 2025")
2121
options.register('tol',
2222
0.01,
2323
VarParsing.VarParsing.multiplicity.singleton,
@@ -38,8 +38,12 @@
3838
print("Geometry file: ", geomName)
3939
print("Base name: ", baseName)
4040

41-
from Configuration.Eras.Era_Run3_DDD_cff import Run3_DDD
42-
process = cms.Process('OverlapCheck',Run3_DDD)
41+
if (options.geometry == "2018"):
42+
from Configuration.Eras.Era_Run2_2018_cff import Run2_2018
43+
process = cms.Process('OverlapCheck',Run2_2018)
44+
else:
45+
from Configuration.Eras.Era_Run3_DDD_cff import Run3_DDD
46+
process = cms.Process('OverlapCheck',Run3_DDD)
4347

4448
process.load(geomName)
4549
process.load("Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cff")

Geometry/MuonCommonData/test/python/g4OverlapCheckMuon_cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
### SETUP OPTIONS
1515
options = VarParsing.VarParsing('standard')
1616
options.register('geometry',
17-
"2021",
17+
"2022",
1818
VarParsing.VarParsing.multiplicity.singleton,
1919
VarParsing.VarParsing.varType.string,
2020
"geometry of operations: 2022, 2023, 2024, 2025")

0 commit comments

Comments
 (0)