Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:22:10

0001 ################
0002 #
0003 #  Tracking-Only Geometry config script (Flat case)
0004 #  
0005 # This script is used for processing fast stub building in the tracker only geometry
0006 # See the available scripts in the test dir
0007 #
0008 # GEOM is based on:
0009 # https://github.com/cms-sw/cmssw/blob/CMSSW_9_2_X/Geometry/CMSCommonData/python/cmsExtendedGeometry2026D11XML_cfi.py
0010 #
0011 # S.Viret (viret_at_ipnl.in2p3.fr): 04/07/16
0012 #
0013 ################
0014 
0015 import FWCore.ParameterSet.Config as cms
0016 
0017 #Tracker stuff
0018 from Geometry.CommonTopologies.globalTrackingGeometry_cfi import *
0019 from RecoTracker.GeometryESProducer.TrackerRecoGeometryESProducer_cfi import *
0020 from Geometry.TrackerGeometryBuilder.trackerParameters_cfi import *
0021 from Geometry.TrackerNumberingBuilder.trackerTopology_cfi import *
0022 from Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi import *
0023 
0024 #  Alignment
0025 from Geometry.TrackerGeometryBuilder.idealForDigiTrackerGeometry_cff import *
0026 trackerGeometry.applyAlignment = cms.bool(False)
0027 
0028 ## Here we put the xml stuff for the tracker-only geometry
0029 #
0030 # Need to remove the rest in order to avoid SD-related crashes in Geant4
0031 
0032 XMLIdealGeometryESSource = cms.ESSource("XMLIdealGeometryESSource",
0033     geomXMLFiles = cms.vstring(
0034        'Geometry/CMSCommonData/data/materials.xml',
0035         'Geometry/CMSCommonData/data/rotations.xml',
0036         'Geometry/CMSCommonData/data/extend/cmsextent.xml',
0037         'Geometry/CMSCommonData/data/cms/2019/v1/cms.xml',
0038         'Geometry/CMSCommonData/data/cmsMother.xml',
0039         'Geometry/CMSCommonData/data/cmsTracker.xml',
0040         'Geometry/CMSCommonData/data/eta3/etaMax.xml',   
0041         'Geometry/CMSCommonData/data/mgnt.xml',
0042         'Geometry/CMSCommonData/data/beampipe/2026/v1/beampipe.xml',
0043         'Geometry/CMSCommonData/data/cmsBeam/2026/v1/cmsBeam.xml',
0044         'Geometry/CMSCommonData/data/cavern.xml',
0045         'Geometry/TrackerCommonData/data/PhaseII/trackerParameters.xml',
0046         'Geometry/TrackerCommonData/data/pixfwdCommon.xml',
0047         'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker4025/pixfwd.xml',
0048         'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker4025/pixbar.xml',
0049         'Geometry/TrackerCommonData/data/trackermaterial.xml',
0050         'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker4025/tracker.xml',
0051         'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker4025/pixel.xml',
0052         'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker4025/trackerbar.xml',
0053         'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker4025/trackerfwd.xml',
0054         'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker4025/trackerStructureTopology.xml',
0055         'Geometry/TrackerCommonData/data/PhaseII/TiltedTracker4025/pixelStructureTopology.xml',
0056         'Geometry/TrackerSimData/data/PhaseII/TiltedTracker4025/trackersens.xml',
0057         'Geometry/TrackerSimData/data/PhaseII/TiltedTracker4025/pixelsens.xml',
0058         'Geometry/TrackerRecoData/data/PhaseII/TiltedTracker4025/trackerRecoMaterial.xml',
0059         'Geometry/TrackerSimData/data/PhaseII/TiltedTracker4025/trackerProdCuts.xml',
0060         'Geometry/TrackerSimData/data/PhaseII/TiltedTracker4025/pixelProdCuts.xml',
0061         'Geometry/TrackerSimData/data/trackerProdCutsBEAM.xml',
0062         'Geometry/CMSCommonData/data/FieldParameters.xml'
0063         ),
0064     rootNodeName = cms.string('cms:OCMS')
0065 )
0066 
0067 
0068