Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35257 from bsunanda/Run3-gex92Y
Run3 gex92: Backport some of the geometry diagnostic tools to study ddd/dd4hep geometries in XML and Big XML versions
- Loading branch information
Showing
31 changed files
with
1,008 additions
and
143 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
SimG4Core/PrintGeomInfo/data/dd4hep/cmsExtendedGeometry2021.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0"?> | ||
<DDDefinition> | ||
<open_geometry/> | ||
<close_geometry/> | ||
|
||
<IncludeSection> | ||
<Include ref='SimG4Core/PrintGeomInfo/data/dd4hep/dd4hepDBBigFile.xml'/> | ||
<Include ref='SimG4Core/PrintGeomInfo/data/hcalSimNumbering.xml'/> | ||
<Include ref='SimG4Core/PrintGeomInfo/data/hcalRecNumbering.xml'/> | ||
</IncludeSection> | ||
</DDDefinition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0"?> | ||
<DDDefinition> | ||
|
||
<ConstantsSection label="hcalRecNumbering.xml" eval="true"> | ||
<Vector name="etagroup" type="numeric" nEntries="29"> | ||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 | ||
</Vector> | ||
<Vector name="phigroup" type="numeric" nEntries="29"> | ||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | ||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 | ||
</Vector> | ||
<Vector name="layerGroupRecEta1" type="numeric" nEntries="19"> | ||
1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4 | ||
</Vector> | ||
<Vector name="layerGroupRecEta16" type="numeric" nEntries="19"> | ||
1, 1, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 | ||
</Vector> | ||
<Vector name="layerGroupRecEta17" type="numeric" nEntries="19"> | ||
2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 | ||
</Vector> | ||
<Vector name="layerGroupRecEta18" type="numeric" nEntries="19"> | ||
1, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5 | ||
</Vector> | ||
<Vector name="layerGroupRecEta19" type="numeric" nEntries="19"> | ||
1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6 | ||
</Vector> | ||
<Vector name="layerGroupRecEta26" type="numeric" nEntries="19"> | ||
1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7 | ||
</Vector> | ||
</ConstantsSection> | ||
|
||
</DDDefinition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<?xml version="1.0"?> | ||
<DDDefinition> | ||
|
||
<ConstantsSection label="hcalSimNumbering.xml" eval="true"> | ||
<Vector name="phioff" type="numeric" nEntries="5"> | ||
0.0*deg, 0.0*deg, 0.0*deg, 10.0*deg, 10.0*deg | ||
</Vector> | ||
<Vector name="etaTable" type="numeric" nEntries="30"> | ||
0.000, 0.087, 0.174, 0.261, 0.348, 0.435, 0.522, 0.609, 0.696, | ||
0.783, 0.870, 0.957, 1.044, 1.131, 1.218, 1.305, 1.392, 1.479, | ||
1.566, 1.653, 1.740, 1.830, 1.930, 2.043, 2.172, 2.322, 2.500, | ||
2.650, 2.868, 3.000 | ||
</Vector> | ||
<Vector name="rTable" type="numeric" nEntries="14"> | ||
12.50*cm, 16.90*cm, 20.10*cm, 24.00*cm, 28.60*cm, 34.00*cm, | ||
40.60*cm, 48.30*cm, 57.60*cm, 68.60*cm, 81.80*cm, 97.50*cm, | ||
116.20*cm, 130.00*cm | ||
</Vector> | ||
<Vector name="phibin" type="numeric" nEntries="29"> | ||
5.0*deg, 5.0*deg, 5.0*deg, 5.0*deg, 5.0*deg, 5.0*deg, 5.0*deg, | ||
5.0*deg, 5.0*deg, 5.0*deg, 5.0*deg, 5.0*deg, 5.0*deg, 5.0*deg, | ||
5.0*deg, 5.0*deg, 5.0*deg, 5.0*deg, 5.0*deg, 5.0*deg, 10.0*deg, | ||
10.0*deg, 10.0*deg, 10.0*deg, 10.0*deg, 10.0*deg, 10.0*deg, | ||
10.0*deg, 10.0*deg | ||
</Vector> | ||
<Vector name="phitable" type="numeric" nEntries="13"> | ||
10.0*deg, 10.0*deg, 10.0*deg, 10.0*deg, 10.0*deg, 10.0*deg, | ||
10.0*deg, 10.0*deg, 10.0*deg, 10.0*deg, 10.0*deg, 20.0*deg, | ||
20.0*deg | ||
</Vector> | ||
<Vector name="layerGroupSimEta1" type="numeric" nEntries="19"> | ||
1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4 | ||
</Vector> | ||
<Vector name="layerGroupSimEta16" type="numeric" nEntries="19"> | ||
1, 1, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4 | ||
</Vector> | ||
<Vector name="layerGroupSimEta17" type="numeric" nEntries="19"> | ||
2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 | ||
</Vector> | ||
<Vector name="layerGroupSimEta18" type="numeric" nEntries="19"> | ||
1, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5 | ||
</Vector> | ||
<Vector name="layerGroupSimEta19" type="numeric" nEntries="19"> | ||
1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6 | ||
</Vector> | ||
<Vector name="layerGroupSimEta26" type="numeric" nEntries="19"> | ||
1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7 | ||
</Vector> | ||
<Vector name="etaMin" type="numeric" nEntries="4"> | ||
1, 16, 29, 1 | ||
</Vector> | ||
<Vector name="etaMax" type="numeric" nEntries="4"> | ||
16, 29, 41, 15 | ||
</Vector> | ||
<Vector name="MaxDepth" type="numeric" nEntries="4"> | ||
4, 7, 4, 4 | ||
</Vector> | ||
<Vector name="etaRange" type="numeric" nEntries="4"> | ||
1.392, 3.000, 5.500, 1.305 | ||
</Vector> | ||
<Vector name="gparHF" type="numeric" nEntries="7"> | ||
22.0*cm, 165.0*cm, 30.0*cm, 0.0*cm, 1115.0*cm, 0.375*cm, | ||
1137.0*cm | ||
</Vector> | ||
<Vector name="noff" type="numeric" nEntries="18"> | ||
15, 29, 4, 10, 5, 2, 4, 18, 19, 11, 12, 13, 14, 3, 4, 3, 1, 0 | ||
</Vector> | ||
<Vector name="Layer0Wt" type="numeric" nEntries="2"> | ||
0.5, 1.2 | ||
</Vector> | ||
<Vector name="HBGains" type="numeric" nEntries="4"> | ||
117.0, 117.0, 117.0, 217.0 | ||
</Vector> | ||
<Vector name="HBShift" type="numeric" nEntries="4"> | ||
0, 0, 0, 0 | ||
</Vector> | ||
<Vector name="HEGains" type="numeric" nEntries="7"> | ||
178.0, 178.0, 178.0, 178.0, 178.0, 178.0, 178.0 | ||
</Vector> | ||
<Vector name="HEShift" type="numeric" nEntries="7"> | ||
0, 0, 0, 0, 0, 0, 0 | ||
</Vector> | ||
<Vector name="HFGains" type="numeric" nEntries="4"> | ||
2.840, 2.090, 2.840, 2.090 | ||
</Vector> | ||
<Vector name="HFShift" type="numeric" nEntries="4"> | ||
0, 0, 0, 0 | ||
</Vector> | ||
</ConstantsSection> | ||
|
||
</DDDefinition> |
9 changes: 9 additions & 0 deletions
9
SimG4Core/PrintGeomInfo/python/cmsExtendedGeometry2021_cfi.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
XMLIdealGeometryESSource = cms.ESSource("XMLIdealGeometryESSource", | ||
geomXMLFiles = cms.vstring( | ||
'SimG4Core/PrintGeomInfo/data/dddDBBigFile.xml', | ||
'SimG4Core/PrintGeomInfo/data/hcalSimNumbering.xml', | ||
'SimG4Core/PrintGeomInfo/data/hcalRecNumbering.xml'), | ||
rootNodeName = cms.string('cms:OCMS') | ||
) |
Oops, something went wrong.