CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
constantsPostLS2.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 import Geometry.HcalEventSetup.hcalSLHCTopologyConstants_cfi as hcalTopologyConstants_cfi
4 import Geometry.TrackerGeometryBuilder.trackerSLHCGeometryConstants_cfi as trackerGeometryConstants_cfi
5 
6 def customise(process):
7 
8  process.trackerGeometry.trackerGeometryConstants = cms.PSet(trackerGeometryConstants_cfi.trackerGeometryConstants)
9  process.idealForDigiTrackerGeometry.trackerGeometryConstants = cms.PSet(trackerGeometryConstants_cfi.trackerGeometryConstants)
10 
11  process.trackerNumberingGeometry.fromDDD = cms.bool( True )
12  process.trackerNumberingGeometry.layerNumberPXB = cms.uint32(18)
13  process.trackerNumberingGeometry.totalBlade = cms.uint32(56)
14 
15 ## process.hcalTopologyIdeal.hcalTopologyConstants.mode = cms.string('HcalTopologyMode::SLHC')
16 ## process.hcalTopologyIdeal.hcalTopologyConstants.maxDepthHB = cms.int32(7)
17 ## process.hcalTopologyIdeal.hcalTopologyConstants.maxDepthHE = cms.int32(7)
18 
19  process.hcalTopologyIdeal.hcalTopologyConstants = cms.PSet(hcalTopologyConstants_cfi.hcalTopologyConstants)
20  process.es_hardcode.hcalTopologyConstants = cms.PSet(hcalTopologyConstants_cfi.hcalTopologyConstants)
21  process.CaloTowerHardcodeGeometryEP = cms.PSet(hcalTopologyConstants_cfi.hcalTopologyConstants)
22 
23  return process