Skip to content

Commit

Permalink
Modify the testing code in Geometry/HGCalCommonData in view of change…
Browse files Browse the repository at this point in the history
…s made in the Configuration/Geometry area for Phase2 scenarios
  • Loading branch information
Sunanda committed Aug 24, 2024
1 parent dfc9a3c commit 4d7b5e7
Show file tree
Hide file tree
Showing 10 changed files with 51 additions and 41 deletions.
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

0 comments on commit 4d7b5e7

Please sign in to comment.