-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 #27783 from bsunanda/Phase2-hgx212
Phase2-hgx212 Rearrange Geometry/HGCalCommonData in view of DD4Hep transition
- Loading branch information
Showing
32 changed files
with
346 additions
and
68 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
Geometry/HGCalCommonData/data/dd4hep/cms-test-ddhgcalEE-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,41 @@ | ||
<?xml version="1.0"?> | ||
<DDDefinition> | ||
<debug> | ||
<debug_shapes/> | ||
<debug_includes/> | ||
<debug_rotations/> | ||
<debug_includes/> | ||
<debug_volumes/> | ||
<debug_constants/> | ||
<!-- debug_materials/ --> | ||
<debug_namespaces/> | ||
<debug_placements/> | ||
<debug_algorithms/> | ||
|
||
<!-- | ||
<debug_materials/> | ||
<debug_visattr/> | ||
--> | ||
</debug> | ||
|
||
<open_geometry/> | ||
<close_geometry/> | ||
|
||
<IncludeSection> | ||
<Include ref="Geometry/CMSCommonData/data/materials.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/rotations.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/extend/cmsextent.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/cms/2019/v1/cms.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/eta3/etaMax.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/cmsMother.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/caloBase/2026/v1/caloBase.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/cmsCalo.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalMaterial/v1/hgcalMaterial.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalEE/v9/hgcal.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalcell/v9/hgcalcell.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalwafer/v9/hgcalwafer.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalEE/v9/hgcalEE.xml"/> | ||
</IncludeSection> | ||
|
||
</DDDefinition> | ||
|
41 changes: 41 additions & 0 deletions
41
Geometry/HGCalCommonData/data/dd4hep/cms-test-ddhgcalHEmix-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,41 @@ | ||
<?xml version="1.0"?> | ||
<DDDefinition> | ||
<debug> | ||
<debug_shapes/> | ||
<debug_includes/> | ||
<debug_rotations/> | ||
<debug_includes/> | ||
<debug_volumes/> | ||
<debug_constants/> | ||
<!-- debug_materials/ --> | ||
<debug_namespaces/> | ||
<debug_placements/> | ||
<debug_algorithms/> | ||
|
||
<!-- | ||
<debug_materials/> | ||
<debug_visattr/> | ||
--> | ||
</debug> | ||
|
||
<open_geometry/> | ||
<close_geometry/> | ||
|
||
<IncludeSection> | ||
<Include ref="Geometry/CMSCommonData/data/materials.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/rotations.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/extend/cmsextent.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/cms/2019/v1/cms.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/eta3/etaMax.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/cmsMother.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/caloBase/2026/v1/caloBase.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/cmsCalo.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalMaterial/v1/hgcalMaterial.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalHEmix/v9/hgcal.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalcell/v9/hgcalcell.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalwafer/v9/hgcalwafer.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalHEmix/v9/hgcalHEmix.xml"/> | ||
</IncludeSection> | ||
|
||
</DDDefinition> | ||
|
41 changes: 41 additions & 0 deletions
41
Geometry/HGCalCommonData/data/dd4hep/cms-test-ddhgcalHEsil-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,41 @@ | ||
<?xml version="1.0"?> | ||
<DDDefinition> | ||
<debug> | ||
<debug_shapes/> | ||
<debug_includes/> | ||
<debug_rotations/> | ||
<debug_includes/> | ||
<debug_volumes/> | ||
<debug_constants/> | ||
<!-- debug_materials/ --> | ||
<debug_namespaces/> | ||
<debug_placements/> | ||
<debug_algorithms/> | ||
|
||
<!-- | ||
<debug_materials/> | ||
<debug_visattr/> | ||
--> | ||
</debug> | ||
|
||
<open_geometry/> | ||
<close_geometry/> | ||
|
||
<IncludeSection> | ||
<Include ref="Geometry/CMSCommonData/data/materials.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/rotations.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/extend/cmsextent.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/cms/2019/v1/cms.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/eta3/etaMax.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/cmsMother.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/caloBase/2026/v1/caloBase.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/cmsCalo.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalMaterial/v1/hgcalMaterial.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalHEsil/v9/hgcal.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalcell/v9/hgcalcell.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalwafer/v9/hgcalwafer.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalHEsil/v9/hgcalHEsil.xml"/> | ||
</IncludeSection> | ||
|
||
</DDDefinition> | ||
|
33 changes: 33 additions & 0 deletions
33
Geometry/HGCalCommonData/data/dd4hep/cms-test-ddhgcalcell-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,33 @@ | ||
<?xml version="1.0"?> | ||
<DDDefinition> | ||
<debug> | ||
<debug_shapes/> | ||
<debug_includes/> | ||
<debug_rotations/> | ||
<debug_includes/> | ||
<debug_volumes/> | ||
<debug_constants/> | ||
<!-- debug_materials/ --> | ||
<debug_namespaces/> | ||
<debug_placements/> | ||
<debug_algorithms/> | ||
|
||
<!-- | ||
<debug_materials/> | ||
<debug_visattr/> | ||
--> | ||
</debug> | ||
|
||
<open_geometry/> | ||
<close_geometry/> | ||
|
||
<IncludeSection> | ||
<Include ref="Geometry/CMSCommonData/data/materials.xml"/> | ||
<Include ref="Geometry/CMSCommonData/data/rotations.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/test/cms.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalcell/v9/hgcal.xml"/> | ||
<Include ref="Geometry/HGCalCommonData/data/hgcalcell/v9/hgcalcell.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 |
---|---|---|
@@ -1,14 +1,41 @@ | ||
<use name="DetectorDescription/Parser"/> | ||
<use name="FWCore/PluginManager"/> | ||
<use name="FWCore/Framework"/> | ||
<use name="FWCore/ParameterSet"/> | ||
<use name="Geometry/HGCalCommonData"/> | ||
<use name="Geometry/Records"/> | ||
<use name="CondFormats/GeometryObjects"/> | ||
<use name="FWCore/MessageLogger"/> | ||
<use name="DetectorDescription/Core"/> | ||
<library name="GeometryHGCalCommonDataPlugin" file="DD*.cc"> | ||
<use name="CondFormats/GeometryObjects"/> | ||
<use name="DetectorDescription/Core"/> | ||
<use name="DetectorDescription/Parser"/> | ||
<use name="FWCore/Framework"/> | ||
<use name="FWCore/MessageLogger"/> | ||
<use name="FWCore/ParameterSet"/> | ||
<use name="FWCore/PluginManager"/> | ||
<use name="Geometry/HGCalCommonData"/> | ||
<use name="Geometry/Records"/> | ||
<flags EDM_PLUGIN="1"/> | ||
</library> | ||
|
||
<flags EDM_PLUGIN="1"/> | ||
<library file="DD*.cc,module.cc" name="GeometryHGCalCommonDataPlugin"> </library> | ||
<library file="HGCal*.cc" name="GeometryHGCalCommonDataESModules"> </library> | ||
<library file="FastTime*.cc" name="GeometryHGCalCommonDataFastTimeESModules"> </library> | ||
<library name="GeometryHGCalCommonDataESModules" file="HGCal*.cc"> | ||
<use name="DetectorDescription/Core"/> | ||
<use name="FWCore/Framework"/> | ||
<use name="FWCore/MessageLogger"/> | ||
<use name="FWCore/ParameterSet"/> | ||
<use name="FWCore/PluginManager"/> | ||
<use name="Geometry/HGCalCommonData"/> | ||
<use name="Geometry/Records"/> | ||
<flags EDM_PLUGIN="1"/> | ||
</library> | ||
|
||
<library name="GeometryHGCalCommonDataFastTimeESModules" file="FastTime*.cc"> | ||
<use name="DetectorDescription/Core"/> | ||
<use name="FWCore/Framework"/> | ||
<use name="FWCore/MessageLogger"/> | ||
<use name="FWCore/ParameterSet"/> | ||
<use name="FWCore/PluginManager"/> | ||
<use name="Geometry/HGCalCommonData"/> | ||
<use name="Geometry/Records"/> | ||
<flags EDM_PLUGIN="1"/> | ||
</library> | ||
|
||
<library name="DD4hep_GeometryHGCalCommonDataPlugins" file="dd4hep/*.cc"> | ||
<use name="DetectorDescription/DDCMS"/> | ||
<use name="dd4hep"/> | ||
<lib name="Geom"/> | ||
<flags DD4HEP_PLUGIN="1"/> | ||
</library> |
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 was deleted.
Oops, something went wrong.
File renamed without changes.
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
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
25 changes: 25 additions & 0 deletions
25
Geometry/HGCalCommonData/test/python/testHGCalCellGeometry_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,25 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
process = cms.Process("DDHGCalCellTest") | ||
|
||
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.categories.append('HGCalGeom') | ||
|
||
process.DDDetectorESProducer = cms.ESSource("DDDetectorESProducer", | ||
confGeomXMLFiles = cms.FileInPath('Geometry/HGCalCommonData/data/dd4hep/cms-test-ddhgcalcell-algorithm.xml'), | ||
appendToDataLabel = cms.string('DDHGCalCell') | ||
) | ||
|
||
process.testDump = cms.EDAnalyzer("DDTestDumpFile", | ||
outputFileName = cms.untracked.string('hgcalcellDD4Hep.root'), | ||
DDDetector = cms.ESInputTag('','DDHGCalCell') | ||
) | ||
|
||
process.p = cms.Path(process.testDump) |
Oops, something went wrong.