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 #38422 from bsunanda/Phase2-hgx315C
Phase2-hgx315C Tests to investigate overlaps in the dd4hep version of HGCal
- Loading branch information
Showing
6 changed files
with
76 additions
and
15 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
Geometry/HGCalCommonData/data/dd4hep/cms-test-ddhgcalWaferPR-algorithm.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,35 @@ | ||
<?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/v3/materials.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/rotations.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/test/cms.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalMaterial/v2/hgcalMaterial.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalwafer/v17p/hgcal.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalcell/v17/hgcalcell.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalwafer/v17p/hgcalwafer.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalwafer/v17p/hgcalpos.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/dd4hep/world.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
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
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
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
24 changes: 24 additions & 0 deletions
24
Geometry/HGCalCommonData/test/python/dumpHGCalWaferPRDD4hep_cfg.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,24 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
process = cms.Process("DUMP") | ||
process.load('FWCore.MessageService.MessageLogger_cfi') | ||
process.source = cms.Source("EmptySource") | ||
process.maxEvents = cms.untracked.PSet( | ||
input = cms.untracked.int32(1) | ||
) | ||
|
||
process.MessageLogger.cerr.FwkReport.reportEvery = 5 | ||
if hasattr(process,'MessageLogger'): | ||
process.MessageLogger.HGCalGeom=dict() | ||
|
||
process.DDDetectorESProducer = cms.ESSource("DDDetectorESProducer", | ||
confGeomXMLFiles = cms.FileInPath('Geometry/HGCalCommonData/data/dd4hep/cms-test-ddhgcalWaferPR-algorithm.xml'), | ||
appendToDataLabel = cms.string('DDHGCalWaferPartialRotated') | ||
) | ||
|
||
process.testDump = cms.EDAnalyzer("DDTestDumpFile", | ||
outputFileName = cms.untracked.string('hgcalWaferPartialRotatedDD4hep.root'), | ||
DDDetector = cms.ESInputTag('','DDHGCalWaferPartialRotated') | ||
) | ||
|
||
process.p = cms.Path(process.testDump) |