Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phase2-hgx359Q Modify the testing code in Geometry/HGCalCommonData in view of changes made in the Configuration/Geometry area for Phase2 scenarios #45788

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
###############################################################################
# Way to use this:
# cmsRun dumpHGCalGeometryDD4hep_cfg.py geometry=D88
# cmsRun dumpHGCalGeometryDD4hep_cfg.py geometry=D110
#
# Options for geometry D88, D92, D93, D98, D99, D101
# Options for geometry D95, D96, D98, D99, D100, D101, D102, D103, D104, D105,
# D106, D107, D108, D109, D110, D111, D112, D113, D114
#
###############################################################################
import FWCore.ParameterSet.Config as cms
Expand All @@ -13,10 +14,10 @@
### SETUP OPTIONS
options = VarParsing.VarParsing('standard')
options.register('geometry',
"D88",
"D110",
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"geometry of operations: D88, D92, D93, D98, D99, D101")
"geometry of operations: D95, D96, D98, D99, D100, D101, D102, D103, D104, D105, D106, D107, D108, D109, D110, D111, D112, D113, D114")

### get and parse the command line arguments
options.parseArguments()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
###############################################################################
# Way to use this:
# cmsRun dumpHGCalGeometryDDD_cfg.py geometry=D88
# cmsRun dumpHGCalGeometryDDD_cfg.py geometry=D110
#
# Options for geometry D88, D92, D93, D98, D99, D101
# Options for geometry D95, D96, D98, D99, D100, D101, D102, D103, D104, D105,
# D106, D107, D108, D109, D110, D111, D112, D113, D114
#
###############################################################################
import FWCore.ParameterSet.Config as cms
Expand All @@ -13,10 +14,10 @@
### SETUP OPTIONS
options = VarParsing.VarParsing('standard')
options.register('geometry',
"D88",
"D110",
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"geometry of operations: D88, D92, D93, D98, D99, D101")
"geometry of operations: D95, D96, D98, D99, D100, D101, D102, D103, D104, D105, D106, D107, D108, D109, D110, D111, D112, D113, D114")

### get and parse the command line arguments
options.parseArguments()
Expand Down
9 changes: 5 additions & 4 deletions Geometry/HGCalCommonData/test/python/runHGCalDD4hep_cfg.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
###############################################################################
# Way to use this:
# cmsRun runHGCalDD4hep_cfg.py geometry=D88
# cmsRun runHGCalDD4hep_cfg.py geometry=D110
#
# Options for geometry D88, D92, D93, D98, D99, D101
# Options for geometry D95, D96, D98, D99, D100, D101, D102, D103, D104, D105,
# D106, D107, D108, D109, D110, D111, D112, D113, D114
#
###############################################################################
import FWCore.ParameterSet.Config as cms
Expand All @@ -13,10 +14,10 @@
### SETUP OPTIONS
options = VarParsing.VarParsing('standard')
options.register('geometry',
"D88",
"D110",
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"geometry of operations: D88, D92, D93, D98, D99, D101")
"geometry of operations: D95, D96, D98, D99, D100, D101, D102, D103, D104, D105, D106, D107, D108, D109, D110, D111, D112, D113, D114")

### get and parse the command line arguments
options.parseArguments()
Expand Down
9 changes: 5 additions & 4 deletions Geometry/HGCalCommonData/test/python/runHGCalDDD_cfg.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
###############################################################################
# Way to use this:
# cmsRun runHGCalDDD_cfg.py geometry=D88
# cmsRun runHGCalDDD_cfg.py geometry=D110
#
# Options for geometry D88, D92, D93, D98, D99, D101
# Options for geometry D95, D96, D98, D99, D100, D101, D102, D103, D104, D105,
# D106, D107, D108, D109, D110, D111, D112, D113, D114
#
###############################################################################
import FWCore.ParameterSet.Config as cms
Expand All @@ -13,10 +14,10 @@
### SETUP OPTIONS
options = VarParsing.VarParsing('standard')
options.register('geometry',
"D88",
"D110",
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"geometry of operations: D88, D92, D93, D98, D99, D101")
"geometry of operations: D95, D96, D98, D99, D100, D101, D102, D103, D104, D105, D106, D107, D108, D109, D110, D111, D112, D113, D114")

### get and parse the command line arguments
options.parseArguments()
Expand Down
9 changes: 5 additions & 4 deletions Geometry/HGCalCommonData/test/python/testHGCGeometry_cfg.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
###############################################################################
# Way to use this:
# cmsRun testHGCGeometry_cfg.py geometry=D88
# cmsRun testHGCGeometry_cfg.py geometry=D110
#
# Options for geometry D88, D92, D93, D99, D101
# Options for geometry D95, D96, D98, D99, D100, D101, D102, D103, D104, D105,
# D106, D107, D108, D109, D110, D111, D112, D113, D114
#
###############################################################################
import FWCore.ParameterSet.Config as cms
Expand All @@ -13,10 +14,10 @@
### SETUP OPTIONS
options = VarParsing.VarParsing('standard')
options.register('geometry',
"D88",
"D110",
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"geometry of operations: D88, D92, D93, D99, D101")
"geometry of operations: D95, D96, D98, D99, D100, D101, D102, D103, D104, D105, D106, D107, D108, D109, D110, D111, D112, D113, D114")

### get and parse the command line arguments
options.parseArguments()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
###############################################################################
# Way to use this:
# cmsRun testHGCalPartialWaferTester_cfg.py geometry=D88
# cmsRun testHGCalPartialWaferTester_cfg.py geometry=D119
#
# Options for geometry D88, D92, D93, D99, D101
# Options for geometry D95, D96, D98, D99, D100, D101, D102, D103, D104, D105,
# D106, D107, D108, D109, D110, D111, D112, D113, D114
#
###############################################################################
import FWCore.ParameterSet.Config as cms
Expand All @@ -13,10 +14,10 @@
### SETUP OPTIONS
options = VarParsing.VarParsing('standard')
options.register('geometry',
"D88",
"D110",
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"geometry of operations: D88, D92, D93, D99, D101")
"geometry of operations: D95, D96, D98, D99, D100, D101, D102, D103, D104, D105, D106, D107, D108, D109, D110, D111, D112, D113, D114")

### get and parse the command line arguments
options.parseArguments()
Expand All @@ -32,7 +33,7 @@
print("Geometry file: ", geomFile)

process.load("SimGeneral.HepPDTESSource.pdt_cfi")
process.load(geomFile")
process.load(geomFile)
process.load('FWCore.MessageService.MessageLogger_cfi')

if hasattr(process,'MessageLogger'):
Expand Down
9 changes: 5 additions & 4 deletions Geometry/HGCalCommonData/test/python/testHGCalScintID_cfg.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
###############################################################################
# Way to use this:
# cmsRun testHGCalScintID_cfg.py geometry=D88
# cmsRun testHGCalScintID_cfg.py geometry=D110
#
# Options for geometry D88, D92, D93, D99, D101
# Options for geometry D95, D96, D98, D99, D100, D101, D102, D103, D104, D105,
# D106, D107, D108, D109, D110, D111, D112, D113, D114
#
###############################################################################
import FWCore.ParameterSet.Config as cms
Expand All @@ -13,10 +14,10 @@
### SETUP OPTIONS
options = VarParsing.VarParsing('standard')
options.register('geometry',
"D88",
"D110",
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"geometry of operations: D88, D92, D93, D99, D101")
"geometry of operations: D95, D96, D98, D99, D100, D101, D102, D103, D104, D105, D106, D107, D108, D109, D110, D111, D112, D113, D114")

### get and parse the command line arguments
options.parseArguments()
Expand Down
9 changes: 5 additions & 4 deletions Geometry/HGCalCommonData/test/python/testHGCalValidHex_cfg.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
###############################################################################
# Way to use this:
# cmsRun testHGCalValidHex_cfg.py geometry=D88
# cmsRun testHGCalValidHex_cfg.py geometry=D110
#
# Options for geometry D88, D92, D93, D99, D101
# Options for geometry D95, D96, D98, D99, D100, D101, D102, D103, D104, D105,
# D106, D107, D108, D109, D110, D111, D112, D113, D114
#
###############################################################################
import FWCore.ParameterSet.Config as cms
Expand All @@ -13,10 +14,10 @@
### SETUP OPTIONS
options = VarParsing.VarParsing('standard')
options.register('geometry',
"D88",
"D110",
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"geometry of operations: D88, D92, D93, D99, D101")
"geometry of operations: D95, D96, D98, D99, D100, D101, D102, D103, D104, D105, D106, D107, D108, D109, D110, D111, D112, D113, D114")

### get and parse the command line arguments
options.parseArguments()
Expand Down
9 changes: 5 additions & 4 deletions Geometry/HGCalCommonData/test/python/testHGCalValidity_cfg.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
###############################################################################
# Way to use this:
# cmsRun testHGCalValidityCheck_cfg.py geometry=D88
# cmsRun testHGCalValidityCheck_cfg.py geometry=D110
#
# Options for geometry D88, D92, D93, D99, D101
# Options for geometry D95, D96, D98, D99, D100, D101, D102, D103, D104, D105,
# D106, D107, D108, D109, D110, D111, D112, D113, D114
#
###############################################################################
import FWCore.ParameterSet.Config as cms
Expand All @@ -13,10 +14,10 @@
### SETUP OPTIONS
options = VarParsing.VarParsing('standard')
options.register('geometry',
"D88",
"D110",
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"geometry of operations: D88, D92, D93, D99, D101")
"geometry of operations: D95, D96, D98, D99, D100, D101, D102, D103, D104, D105, D106, D107, D108, D109, D110, D111, D112, D113, D114")

### get and parse the command line arguments
options.parseArguments()
Expand Down
9 changes: 5 additions & 4 deletions Geometry/HGCalCommonData/test/python/testHGCalWafer_cfg.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
###############################################################################
# Way to use this:
# cmsRun testHGCalWafer_cfg.py geometry=D88
# cmsRun testHGCalWafer_cfg.py geometry=D110
#
# Options for geometry D88, D92, D93, D99, D101
# Options for geometry D95, D96, D98, D99, D100, D101, D102, D103, D104, D105,
# D106, D107, D108, D109, D110, D111, D112, D113, D114
#
###############################################################################
import FWCore.ParameterSet.Config as cms
Expand All @@ -13,10 +14,10 @@
### SETUP OPTIONS
options = VarParsing.VarParsing('standard')
options.register('geometry',
"D88",
"D110",
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"geometry of operations: D88, D92, D93, D99, D101")
"geometry of operations: D95, D96, D98, D99, D100, D101, D102, D103, D104, D105, D106, D107, D108, D109, D110, D111, D112, D113, D114")

### get and parse the command line arguments
options.parseArguments()
Expand Down