Skip to content

Commit

Permalink
Merge pull request #46032 from bsunanda/Phase2-hgx360C
Browse files Browse the repository at this point in the history
Phase2-hgx360C increase the debug tools for testing the forthcoming V19 version of HGCal geometry
  • Loading branch information
cmsbuild authored Oct 4, 2024
2 parents 26a5101 + 710654d commit 14a12c2
Show file tree
Hide file tree
Showing 10 changed files with 151 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0"?>
<DDDefinition>
<debug>
<!--
<debug_shapes/>
<debug_includes/>
<debug_rotations/>
<debug_includes/>
<debug_volumes/>
<debug_constants/>
<debug_namespaces/>
<debug_placements/>
<debug_algorithms/>
<debug_materials/>
<debug_visattr/>
-->
</debug>

<open_geometry/>
<close_geometry/>

<IncludeSection>
<Include ref="Geometry/CMSCommonData/data/materials/2021/v1/materials.xml"/>
<Include ref="Geometry/CMSCommonData/data/rotations.xml"/>
<Include ref="Geometry/CMSCommonData/data/extend/v2/cmsextent.xml"/>
<Include ref="Geometry/CMSCommonData/data/cavernData/2021/v1/cavernData.xml"/>
<Include ref="Geometry/CMSCommonData/data/cms/2026/v5/cms.xml"/>
<Include ref="Geometry/CMSCommonData/data/eta3/etaMax.xml"/>
<Include ref="Geometry/CMSCommonData/data/cmsMother.xml"/>
<Include ref="Geometry/CMSCommonData/data/caloBase/2026/v6/caloBase.xml"/>
<Include ref="Geometry/CMSCommonData/data/cmsCalo.xml"/>
<Include ref="Geometry/HGCalCommonData/data/hgcalMaterial/v3/hgcalMaterial.xml"/>
<Include ref="Geometry/HGCalCommonData/data/hgcal/v19/hgcal.xml"/>
<Include ref="Geometry/HGCalCommonData/data/hgcalcell/v19/hgcalcell.xml"/>
<Include ref="Geometry/HGCalCommonData/data/hgcalwafer/v19/hgcalwafer.xml"/>
<Include ref="Geometry/HGCalCommonData/data/hgcalPassive/v19/hgcalPassive.xml"/>
<Include ref="Geometry/HGCalCommonData/data/hgcalEE/v19/hgcalEE.xml"/>
<Include ref="Geometry/CMSCommonData/data/FieldParameters.xml"/>
</IncludeSection>

</DDDefinition>

Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0"?>
<DDDefinition>
<debug>
<!--
<debug_shapes/>
<debug_includes/>
<debug_rotations/>
<debug_includes/>
<debug_volumes/>
<debug_constants/>
<debug_namespaces/>
<debug_placements/>
<debug_algorithms/>
<debug_materials/>
<debug_visattr/>
-->
</debug>

<open_geometry/>
<close_geometry/>

<IncludeSection>
<Include ref="Geometry/CMSCommonData/data/materials/2021/v1/materials.xml"/>
<Include ref="Geometry/CMSCommonData/data/rotations.xml"/>
<Include ref="Geometry/CMSCommonData/data/extend/v2/cmsextent.xml"/>
<Include ref="Geometry/CMSCommonData/data/cavernData/2021/v1/cavernData.xml"/>
<Include ref="Geometry/CMSCommonData/data/cms/2026/v5/cms.xml"/>
<Include ref="Geometry/CMSCommonData/data/eta3/etaMax.xml"/>
<Include ref="Geometry/CMSCommonData/data/cmsMother.xml"/>
<Include ref="Geometry/CMSCommonData/data/caloBase/2026/v6/caloBase.xml"/>
<Include ref="Geometry/CMSCommonData/data/cmsCalo.xml"/>
<Include ref="Geometry/HGCalCommonData/data/hgcalMaterial/v3/hgcalMaterial.xml"/>
<Include ref="Geometry/HGCalCommonData/data/hgcal/v19/hgcal.xml"/>
<Include ref="Geometry/HGCalCommonData/data/hgcalcell/v19/hgcalcell.xml"/>
<Include ref="Geometry/HGCalCommonData/data/hgcalwafer/v19/hgcalwafer.xml"/>
<Include ref="Geometry/HGCalCommonData/data/hgcalPassive/v19/hgcalPassive.xml"/>
<Include ref="Geometry/HGCalCommonData/data/hgcalHEmix/v19/hgcalHEmix.xml"/>
</IncludeSection>

</DDDefinition>

Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0"?>
<DDDefinition>
<debug>
<!--
<debug_shapes/>
<debug_includes/>
<debug_rotations/>
<debug_includes/>
<debug_volumes/>
<debug_constants/>
<debug_namespaces/>
<debug_placements/>
<debug_algorithms/>
<debug_materials/>
<debug_visattr/>
-->
</debug>

<open_geometry/>
<close_geometry/>

<IncludeSection>
<Include ref="Geometry/CMSCommonData/data/materials/2021/v1/materials.xml"/>
<Include ref="Geometry/CMSCommonData/data/rotations.xml"/>
<Include ref="Geometry/CMSCommonData/data/extend/v2/cmsextent.xml"/>
<Include ref="Geometry/CMSCommonData/data/cavernData/2021/v1/cavernData.xml"/>
<Include ref="Geometry/CMSCommonData/data/cms/2026/v5/cms.xml"/>
<Include ref="Geometry/CMSCommonData/data/eta3/etaMax.xml"/>
<Include ref="Geometry/CMSCommonData/data/cmsMother.xml"/>
<Include ref="Geometry/CMSCommonData/data/caloBase/2026/v6/caloBase.xml"/>
<Include ref="Geometry/CMSCommonData/data/cmsCalo.xml"/>
<Include ref="Geometry/HGCalCommonData/data/hgcalMaterial/v3/hgcalMaterial.xml"/>
<Include ref="Geometry/HGCalCommonData/data/hgcal/v19/hgcal.xml"/>
<Include ref="Geometry/HGCalCommonData/data/hgcalcell/v19/hgcalcell.xml"/>
<Include ref="Geometry/HGCalCommonData/data/hgcalwafer/v19/hgcalwafer.xml"/>
<Include ref="Geometry/HGCalCommonData/data/hgcalPassive/v19/hgcalPassive.xml"/>
<Include ref="Geometry/HGCalCommonData/data/hgcalHEsil/v19/hgcalHEsil.xml"/>
<Include ref="Geometry/CMSCommonData/data/FieldParameters.xml"/>
</IncludeSection>

</DDDefinition>

14 changes: 14 additions & 0 deletions Geometry/HGCalCommonData/python/testHGCalCellV19XML_cfi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import FWCore.ParameterSet.Config as cms

XMLIdealGeometryESSource = cms.ESSource("XMLIdealGeometryESSource",
geomXMLFiles = cms.vstring('Geometry/CMSCommonData/data/materials.xml',
'Geometry/CMSCommonData/data/rotations.xml',
'Geometry/HGCalCommonData/test/cms.xml',
'Geometry/HGCalCommonData/data/hgcalMaterial/v3/hgcalMaterial.xml',
'Geometry/HGCalCommonData/data/hgcalcell/v17/hgcal.xml',
'Geometry/HGCalCommonData/data/hgcalcell/v19/hgcalcell.xml',
'Geometry/HGCalCommonData/data/hgcalcell/v19/hgcalpos.xml'),
rootNodeName = cms.string('cms:OCMS')
)


4 changes: 2 additions & 2 deletions Geometry/HGCalCommonData/test/python/dumpHGCalEEDD4hep_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Way to use this:
# cmsRun dumpHGCalEEDD4hep_cfg.py type=V17
#
# Options for type V16, V17, V18
# Options for type V16, V17, V18, V19
#
###############################################################################
import FWCore.ParameterSet.Config as cms
Expand All @@ -16,7 +16,7 @@
"V17",
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"type of operations: V16, V17, V18")
"type of operations: V16, V17, V18, V19")

### get and parse the command line arguments
options.parseArguments()
Expand Down
4 changes: 2 additions & 2 deletions Geometry/HGCalCommonData/test/python/dumpHGCalEEDDD_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Way to use this:
# cmsRun dumpHGCalEEDDD_cfg.py type=V17
#
# Options for type V16, V17, V18
# Options for type V16, V17, V18, V19
#
###############################################################################
import FWCore.ParameterSet.Config as cms
Expand All @@ -16,7 +16,7 @@
"V17",
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"type of operations: V16, V17, V18")
"type of operations: V16, V17, V18, V19")

### get and parse the command line arguments
options.parseArguments()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Way to use this:
# cmsRun dumpHGCalHEmixDD4hep_cfg.py type=V17
#
# Options for type V16, V17, V18
# Options for type V16, V17, V18, V19
#
###############################################################################
import FWCore.ParameterSet.Config as cms
Expand All @@ -16,7 +16,7 @@
"V17",
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"type of operations: V16, V17, V18")
"type of operations: V16, V17, V18, V19")

### get and parse the command line arguments
options.parseArguments()
Expand Down
4 changes: 2 additions & 2 deletions Geometry/HGCalCommonData/test/python/dumpHGCalHEmixDDD_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Way to use this:
# cmsRun dumpHGCalHEmixDDD_cfg.py type=V17
#
# Options for type V16, V17, V18
# Options for type V16, V17, V18, V19
#
###############################################################################
import FWCore.ParameterSet.Config as cms
Expand All @@ -16,7 +16,7 @@
"V17",
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"type of operations: V16, V17, V18")
"type of operations: V16, V17, V18, V19")

### get and parse the command line arguments
options.parseArguments()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Way to use this:
# cmsRun dumpHGCalHEsilDD4hep_cfg.py type=V17
#
# Options for type V16, V17, V18
# Options for type V16, V17, V18, V19
#
###############################################################################
import FWCore.ParameterSet.Config as cms
Expand All @@ -16,7 +16,7 @@
"V17",
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"type of operations: V16, V17, V18")
"type of operations: V16, V17, V18, V19")

### get and parse the command line arguments
options.parseArguments()
Expand Down
4 changes: 2 additions & 2 deletions Geometry/HGCalCommonData/test/python/dumpHGCalHEsilDDD_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Way to use this:
# cmsRun dumpHGCalHEsilDDD_cfg.py type=V17
#
# Options for type V16, V17, V18
# Options for type V16, V17, V18, V19
#
###############################################################################
import FWCore.ParameterSet.Config as cms
Expand All @@ -16,7 +16,7 @@
"V17",
VarParsing.VarParsing.multiplicity.singleton,
VarParsing.VarParsing.varType.string,
"type of operations: V16, V17, V18")
"type of operations: V16, V17, V18, V19")

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

0 comments on commit 14a12c2

Please sign in to comment.