Skip to content

Commit

Permalink
Merge pull request #36856 from bsunanda/Run2-gex117
Browse files Browse the repository at this point in the history
Run2-gex117 Make a set of material files for tracker which does not complain about 'the sum of components do not add to 1' for 2016 setup
  • Loading branch information
cmsbuild committed Feb 6, 2022
2 parents e829071 + 66a82b0 commit ff6bdba
Show file tree
Hide file tree
Showing 11 changed files with 5,575 additions and 0 deletions.
41 changes: 41 additions & 0 deletions Geometry/HcalCommonData/python/GeometryExtended2016Reco_cff.py
@@ -0,0 +1,41 @@
import FWCore.ParameterSet.Config as cms

#
# Geometry master configuration
#
# Ideal geometry, needed for simulation
from Geometry.HcalCommonData.cmsExtendedGeometry2016XML_cfi import *
from Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi import *
from Geometry.EcalCommonData.ecalSimulationParameters_cff import *
from Geometry.HcalCommonData.hcalDDDSimConstants_cff import *
from Geometry.MuonNumbering.muonGeometryConstants_cff import *

# Reconstruction geometry services
# Tracking Geometry
#bah - well, this is not a cfi!
from Geometry.CommonTopologies.globalTrackingGeometry_cfi import *

#Tracker
from RecoTracker.GeometryESProducer.TrackerRecoGeometryESProducer_cfi import *
from Geometry.TrackerGeometryBuilder.TrackerAdditionalParametersPerDet_cfi import *
from Geometry.TrackerNumberingBuilder.trackerTopology_cfi import *

#Muon
from Geometry.MuonNumbering.muonNumberingInitialization_cfi import *
from RecoMuon.DetLayers.muonDetLayerGeometry_cfi import *

# Alignment
from Geometry.TrackerGeometryBuilder.idealForDigiTrackerGeometry_cff import *
from Geometry.CSCGeometryBuilder.idealForDigiCscGeometry_cff import *
from Geometry.DTGeometryBuilder.idealForDigiDtGeometry_cff import *
trackerGeometry.applyAlignment = cms.bool(False)

# Calorimeters
from Geometry.CaloEventSetup.CaloTopology_cfi import *
from Geometry.CaloEventSetup.CaloGeometry_cff import *
from Geometry.CaloEventSetup.EcalTrigTowerConstituents_cfi import *
from Geometry.EcalMapping.EcalMapping_cfi import *
from Geometry.EcalMapping.EcalMappingRecord_cfi import *
from Geometry.HcalCommonData.hcalDDDRecConstants_cfi import *
from Geometry.HcalEventSetup.hcalTopologyIdeal_cfi import *

288 changes: 288 additions & 0 deletions Geometry/HcalCommonData/python/cmsExtendedGeometry2016XML_cfi.py

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions Geometry/HcalCommonData/test/python/dump2016_cfg.py
@@ -0,0 +1,27 @@
import FWCore.ParameterSet.Config as cms

process = cms.Process("DUMP")

process.load("Geometry.HcalCommonData.GeometryExtended2016Reco_cff")
process.load('FWCore.MessageService.MessageLogger_cfi')

if 'MessageLogger' in process.__dict__:
process.MessageLogger.HcCalGeom=dict()

process.source = cms.Source("EmptySource")

process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(1)
)

process.add_(cms.ESProducer("TGeoMgrFromDdd",
verbose = cms.untracked.bool(False),
level = cms.untracked.int32(14)
))


process.dump = cms.EDAnalyzer("DumpSimGeometry",
outputFileName = cms.untracked.string('cms2016.root')
)

process.p = cms.Path(process.dump)

0 comments on commit ff6bdba

Please sign in to comment.